about summary refs log tree commit diff
path: root/src/libsyntax/ext/tt/macro_parser.rs
AgeCommit message (Expand)AuthorLines
2019-01-09Change `String` to `&'static str` in `ParseResult::Failure`.Nicholas Nethercote-3/+3
2019-01-03Fix repeated word typosWiktor Kuchta-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-4/+4
2018-12-04Remove redundant cloneShotaro Yamada-1/+1
2018-11-23Reword incorrect macro invocation primary labelEsteban Küber-4/+9
2018-11-23Point at end of macro arm when encountering EOFEsteban Küber-2/+9
2018-11-13Rollup merge of #55870 - waywardmonkeys:typo-fixes, r=wesleywiserkennytm-1/+1
2018-11-12Make `MatcherPos::stack` a `SmallVec`.Niko Matsakis-34/+57
2018-11-11Fix typos.Bruce Mitchener-1/+1
2018-11-05Auto merge of #55451 - estebank:arg-doc, r=pnkfelixbors-1/+1
2018-11-01Use `SmallVec` for the inner vectors in `MatcherPos::matches`.Nicholas Nethercote-5/+7
2018-11-01Share empty `Vec`s more within `MatcherPos::matches`.Nicholas Nethercote-4/+9
2018-10-28Provide specific label for patern parsing errorEsteban Küber-1/+1
2018-09-26Remove OneVectorljedrz-6/+6
2018-09-08Rename sp_lo to sp_openDavid Tolnay-10/+10
2018-09-08Track distinct spans for open and close delimiterDavid Tolnay-8/+8
2018-08-28Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.Eduard-Mihai Burtescu-5/+5
2018-08-23Use optimized SmallVec implementationIgor Gutorov-1/+1
2018-08-19Fix typos found by codespell.Matthias Krüger-2/+2
2018-08-13Move SmallVec and ThinVec out of libsyntaxljedrz-7/+7
2018-07-16cleanup unnecessary elseMichael Lamparski-6/+4
2018-07-07fix perf issue in macro parserMichael Lamparski-1/+8
2018-06-10Enable fall through past $:lifetime matcherDavid Tolnay-0/+8
2018-05-27innacurate -> inaccurateTakanori Ishibashi-1/+1
2018-05-26Add `Ident::as_str` helperVadim Petrochenkov-2/+2
2018-05-20Auto merge of #50855 - nnethercote:fewer-macro_parser-allocs, r=petrochenkovbors-23/+71
2018-05-18Introduce `MatcherPosHandle`.Nicholas Nethercote-11/+59
2018-05-17Change `TokenTreeOrTokenTreeVec` to `TokenTreeOrTokenTreeSlice`.Nicholas Nethercote-19/+19
2018-05-13Macros: Add a 'literal' fragment specifierDan Aloni-0/+2
2018-05-03check if the token is a lifetime before parsingrleungx-1/+7
2018-04-06Make lifetime nonterminals closer to identifier nonterminalsVadim Petrochenkov-2/+2
2018-04-06Remove more duplicated spansVadim Petrochenkov-1/+1
2018-04-06Get rid of `SpannedIdent`Vadim Petrochenkov-3/+3
2018-03-18Return a is_raw parameter from Token::ident rather than having separate methods.Lymia Aluysia-2/+2
2018-03-18Initial implementation of RFC 2151, Raw IdentifiersLymia Aluysia-9/+10
2018-03-17Reject `_` in `ident` matcherVadim Petrochenkov-17/+19
2018-03-17syntax: Make `_` an identifierVadim Petrochenkov-2/+1
2018-01-30Update a few commentsMark Mansi-1/+0
2018-01-30Fix trailing whitespaceMark Mansi-1/+1
2018-01-30Attempted fix for `?` kleene opMark Mansi-23/+21
2018-01-30Run rustfmt on macro_parser.rsMark Mansi-4/+6
2018-01-30Update the macro parser to allow at most once repetitions for `?` KleeneMark Mansi-16/+22
2018-01-29Update commentMark Mansi-1/+2
2018-01-26A few more commentsMark Mansi-0/+8
2018-01-26Still more commentsMark Mansi-2/+26
2018-01-26Added/improved commentsMark Mansi-17/+61
2018-01-26Added lots of comments + minor reorganizationMark Mansi-34/+94
2018-01-26Added a bunch of comments to macro_parser.rsMark Mansi-10/+62
2018-01-26Run rustfmt on /libsyntax/ext/tt/macro_parser.rsMark Mansi-78/+114