Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -77/+75 |
| | |||||
* | Merge #4139 | bors[bot] | 2020-04-25 | 1 | -1/+36 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4139: Add check for rules that no repetition which could match an empty token r=matklad a=edwin0cheng Fix #4103 for `/ui/issues/issue-57597.rs` This is `ParseError` of the macro rules , because it is how rustc handle it : https://github.com/rust-lang/rust/blob/a58b1ed44f5e06976de2bdc4d7dc81c36a96934f/src/librustc_expand/mbe/macro_rules.rs#L558 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Checks no repetition for an empty token | Edwin Cheng | 2020-04-25 | 1 | -1/+36 |
| | | |||||
* | | Merge #4134 | bors[bot] | 2020-04-25 | 1 | -0/+13 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4134: Special case for empty comments in doc comment kind r=matklad a=edwin0cheng Part of #4103 Fix `ui/empty/empty-comment.rs macros` Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | Fix whitespaces | Edwin Cheng | 2020-04-25 | 1 | -1/+1 |
| | | | |||||
| * | | Special case for empty comments | Edwin Cheng | 2020-04-25 | 1 | -0/+13 |
| |/ | |||||
* / | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -204/+204 |
|/ | |||||
* | Convert bool to ident instead of literal in mbe | Edwin Cheng | 2020-04-18 | 1 | -0/+30 |
| | |||||
* | Add mbe lifetime split test | Edwin Cheng | 2020-04-18 | 1 | -0/+27 |
| | |||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 1 | -10/+10 |
| | |||||
* | Improve tt::Subtree debug print | Edwin Cheng | 2020-04-09 | 1 | -0/+79 |
| | |||||
* | Add L_DOLLAR for TYPE_RECOVERY_SET | Edwin Cheng | 2020-04-08 | 1 | -0/+17 |
| | |||||
* | Add open delim when delim not match | Edwin Cheng | 2020-03-20 | 1 | -1/+1 |
| | |||||
* | Add TokenConvertor trait | Edwin Cheng | 2020-03-20 | 1 | -3/+3 |
| | |||||
* | Add test for delim bug | Edwin Cheng | 2020-03-20 | 1 | -12/+44 |
| | |||||
* | Turn ExpandResult into struct | Florian Diebold | 2020-03-16 | 1 | -2/+1 |
| | |||||
* | Fix performance problem | Florian Diebold | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Make MBE expansion more resilient (WIP) | Florian Diebold | 2020-03-16 | 1 | -1/+2 |
| | |||||
* | Add parse_to_token_tree | Edwin Cheng | 2020-03-08 | 1 | -2/+10 |
| | |||||
* | fix regression from #3451 | Edwin Cheng | 2020-03-05 | 1 | -0/+54 |
| | |||||
* | Fixed whitespace bug | Edwin Cheng | 2020-03-04 | 1 | -0/+31 |
| | |||||
* | Fix #3436 | Edwin Cheng | 2020-03-04 | 1 | -0/+13 |
| | |||||
* | Fix a bug for single dollar sign macro | Edwin Cheng | 2020-03-03 | 1 | -0/+1 |
| | |||||
* | ra_mbe: Remove explicit type annotation | Veetaha | 2020-02-22 | 1 | -1/+1 |
| | |||||
* | ra_mbe: added test for malformed token in macro invokation | Veetaha | 2020-02-22 | 1 | -3/+21 |
| | | | | | There was a panic where lexer returned None on malformed tokens. But now we just ignore tokenization errors in mbe. | ||||
* | Add details about test_repeat_bad_var current state | Vincent Rouillé | 2019-12-30 | 1 | -0/+2 |
| | |||||
* | fix #2520: change expand_repeat loop stop condition | Vincent Rouillé | 2019-12-28 | 1 | -0/+46 |
| | |||||
* | Refactor macro tests | Aleksey Kladov | 2019-12-19 | 1 | -390/+275 |
| | |||||
* | Fix parsing of interpolated expressions | Aleksey Kladov | 2019-12-19 | 1 | -0/+18 |
| | |||||
* | Rename range to by_kind | Edwin Cheng | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | Add test for token map | Edwin Cheng | 2019-12-18 | 1 | -0/+43 |
| | |||||
* | Add token id to delims | Edwin Cheng | 2019-12-18 | 1 | -7/+9 |
| | |||||
* | Add token ids for all tt::Leaf | Edwin Cheng | 2019-12-18 | 1 | -5/+5 |
| | |||||
* | Refactor tt::Delimiter | Edwin Cheng | 2019-12-13 | 1 | -1/+1 |
| | |||||
* | Remove typed macro parsing API | Aleksey Kladov | 2019-11-09 | 1 | -31/+71 |
| | | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type | ||||
* | Add macro_expansion_info in hir_expand | Edwin Cheng | 2019-11-04 | 1 | -8/+8 |
| | |||||
* | Add TokenId Shif in macro_rules | Edwin Cheng | 2019-11-04 | 1 | -0/+27 |
| | |||||
* | slightly cleanup macro tests | Aleksey Kladov | 2019-09-19 | 1 | -185/+159 |
| | |||||
* | use usual token tree for macro expansion | Aleksey Kladov | 2019-09-17 | 1 | -0/+48 |
| | |||||
* | cleanup expansion to item list | Aleksey Kladov | 2019-09-10 | 1 | -4/+4 |
| | |||||
* | add fragmets to expansion | Aleksey Kladov | 2019-09-10 | 1 | -3/+2 |
| | |||||
* | "Fix" mbe to work with decomposed tokens | Aleksey Kladov | 2019-09-10 | 1 | -4/+5 |
| | | | | We regressed $i * 2 where $i = 1 + 1, need to fix that! | ||||
* | fix assists | Aleksey Kladov | 2019-09-02 | 1 | -15/+16 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -4/+4 |
| | |||||
* | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 1 | -3/+3 |
| | |||||
* | move debug_dump to fmt::Debug | Aleksey Kladov | 2019-07-20 | 1 | -4/+4 |
| | |||||
* | migrate mbe to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -26/+17 |
| | |||||
* | use Parse in mbe | Aleksey Kladov | 2019-07-18 | 1 | -15/+15 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -2/+2 |
| | | | | this is in preparation for the new rowan API | ||||
* | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 1 | -14/+13 |
| |