diff options
author | Josh Robson Chase <[email protected]> | 2019-01-23 17:15:47 +0000 |
---|---|---|
committer | Josh Robson Chase <[email protected]> | 2019-01-23 18:17:41 +0000 |
commit | 1cd6d6539a9d85bc44db364bb9165e6d9253790d (patch) | |
tree | 9700b48ecbf34496d45c5e08e27c113698fb1452 /crates/ra_syntax/src/grammar.ron | |
parent | 0b942cbcb071811a811aa35feaa80950c2415075 (diff) |
Add raw idents to lexer and parser
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 0385183fd..64beb8252 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -102,6 +102,7 @@ Grammar( | |||
102 | tokens: [ | 102 | tokens: [ |
103 | "ERROR", | 103 | "ERROR", |
104 | "IDENT", | 104 | "IDENT", |
105 | "RAW_IDENT", | ||
105 | "UNDERSCORE", | 106 | "UNDERSCORE", |
106 | "WHITESPACE", | 107 | "WHITESPACE", |
107 | "INT_NUMBER", | 108 | "INT_NUMBER", |
@@ -116,6 +117,10 @@ Grammar( | |||
116 | "COMMENT", | 117 | "COMMENT", |
117 | "SHEBANG", | 118 | "SHEBANG", |
118 | ], | 119 | ], |
120 | ident_tokens: [ | ||
121 | "IDENT", | ||
122 | "RAW_IDENT", | ||
123 | ], | ||
119 | nodes: [ | 124 | nodes: [ |
120 | "SOURCE_FILE", | 125 | "SOURCE_FILE", |
121 | 126 | ||