Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate tests .txt -> .rast | veetaha | 2020-04-06 | 1 | -37/+0 |
| | | | | | | | | The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files. | ||||
* | Macro patterns are not confused with expressions. | Aleksey Kladov | 2020-04-03 | 1 | -10/+11 |
| | | | | | | | | | | | We treat macro calls as expressions (there's appropriate Into impl), which causes problem if there's expresison and non-expression macro in the same node (like in the match arm). We fix this problem by nesting macor patterns into another node (the same way we nest path into PathExpr or PathPat). Ideally, we probably should add a similar nesting for macro expressions, but that needs some careful thinking about macros in blocks: `{ am_i_expression!() }`. | ||||
* | Fix parser for macro call in pattern position | Edwin Cheng | 2019-12-20 | 1 | -5/+4 |
| | |||||
* | update test data | Aleksey Kladov | 2019-09-02 | 1 | -25/+26 |
| | |||||
* | move syntax tests to unit tests | Aleksey Kladov | 2019-07-24 | 1 | -0/+36 |