Reflow an overlong comment.
This commit is contained in:
parent
cfc1aa3c5d
commit
a8909b059f
@ -456,8 +456,8 @@ pub fn compile_declarative_macro(
|
|||||||
match tt_parser.parse_tt(&mut Cow::Owned(parser), &argument_gram, &mut NoopTracker) {
|
match tt_parser.parse_tt(&mut Cow::Owned(parser), &argument_gram, &mut NoopTracker) {
|
||||||
Success(m) => m,
|
Success(m) => m,
|
||||||
Failure(()) => {
|
Failure(()) => {
|
||||||
// The fast `NoopTracker` doesn't have any info on failure, so we need to retry it with another one
|
// The fast `NoopTracker` doesn't have any info on failure, so we need to retry it
|
||||||
// that gives us the information we need.
|
// with another one that gives us the information we need.
|
||||||
// For this we need to reclone the macro body as the previous parser consumed it.
|
// For this we need to reclone the macro body as the previous parser consumed it.
|
||||||
let retry_parser = create_parser();
|
let retry_parser = create_parser();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user