aboutsummaryrefslogtreecommitdiff
path: root/crates/parser/src/grammar
Commit message (Collapse)AuthorAgeFilesLines
* Remove local ungrammar dependencyLukas Wirth2020-12-231-3/+1
|
* Parse const effect blockLukas Wirth2020-12-232-2/+14
|
* Parse ConstBlockPatLukas Wirth2020-12-231-0/+16
|
* Merge #6965bors[bot]2020-12-212-12/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6965: Properly attach attributes to Param instead of parent ParamList r=matklad a=Veykril Fixes #2783, fixes #2781 The problem with `let _a = [0,#[cfg(feature = "L")]0];` has already been fixed some time ago it seems: <details> <summary>Syntax Tree for the const item</summary> ``` [email protected] [email protected] "let" [email protected] " " [email protected] [email protected] [email protected] "_a" [email protected] " " [email protected] "=" [email protected] " " [email protected] [email protected] "[" [email protected] [email protected] "0" [email protected] "," [email protected] [email protected] [email protected] "#" [email protected] "[" [email protected] [email protected] [email protected] [email protected] "cfg" [email protected] [email protected] "(" [email protected] "feature" [email protected] " " [email protected] "=" [email protected] " " [email protected] "\"L\"" [email protected] ")" [email protected] "]" [email protected] "0" [email protected] "]" [email protected] ";" ``` </details> Co-authored-by: Lukas Wirth <[email protected]>
| * Parse attributes in tuple expressionsLukas Wirth2020-12-201-3/+5
| |
| * Properly attach attributes to Param instead of parent ParamListLukas Wirth2020-12-201-9/+8
| |
* | Properly parse legacy trait objects with leading ForTypeLukas Wirth2020-12-202-9/+19
|/
* Node-ify lifetimesLukas Wirth2020-12-166-27/+38
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-13/+31
|
* Parse unsafe extern blockDavid Tolnay2020-11-231-1/+9
|
* Kill RAW_ literalsAleksey Kladov2020-11-062-15/+3
| | | | | Syntactically, they are indistinguishable from non-raw versions, so it doesn't make sense to separate then *at the syntax* level.
* Rename record_field_pat to record_pat_fieldPavan Kumar Sunkara2020-09-101-2/+2
|
* CONST LOOPS ARE HEREAleksey Kladov2020-08-276-18/+27
|
* Complete `pub` in fieldsAleksey Kladov2020-08-251-1/+8
|
* Better recovery in `use foo::;`Aleksey Kladov2020-08-131-2/+14
|
* Align parser names with grammarAleksey Kladov2020-08-1314-138/+116
|
* Rename ra_parser -> parserAleksey Kladov2020-08-1214-0/+3516