Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMulti-character repetition separators not parseable #8
Comments
This comment has been minimized.
This comment has been minimized.
|
Minimal example is macro_rules! a {
($($m:ident)::+) => {};
}The problem is the |
This comment has been minimized.
This comment has been minimized.
|
Likely related to #4 then? |
This comment has been minimized.
This comment has been minimized.
|
In a general sense, yes, yet I believe what we see here are the various intricacies of parsing rust's macro syntax. One will have to investigate. |
This comment has been minimized.
This comment has been minimized.
|
My hunch is you ought to be allowing for a |
durka
changed the title
Can't parse this macro
Multi-character repetition separators not parseable
Aug 14, 2018
This comment has been minimized.
This comment has been minimized.
|
There isn't a It should be possible to define a parser for multi-character punctuation in this crate, as you have with all the other macro_rules parsing logic. |
durka commentedAug 14, 2018
•
edited
[Edit: problem has been identified, see next comment]
The macro below results in
ParseError(None)fromparse_str::<MacroRules>. Not very helpful. Is there any way to get more output?