diff options
author | Aleksey Kladov <[email protected]> | 2018-02-04 13:46:26 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-04 13:46:26 +0000 |
commit | 85c42fba1291f1cc41fb7bfec63117895b394fc5 (patch) | |
tree | cda942a62d244f6352dd870cf4c4e68f739909b5 /grammar.ron | |
parent | 852543212ba5c68b3428a80187087cc641de612c (diff) |
Support contextual tokens
Diffstat (limited to 'grammar.ron')
-rw-r--r-- | grammar.ron | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/grammar.ron b/grammar.ron index c2fcc44f5..e97ef0c2c 100644 --- a/grammar.ron +++ b/grammar.ron | |||
@@ -27,6 +27,11 @@ Grammar( | |||
27 | "mut", | 27 | "mut", |
28 | "unsafe", | 28 | "unsafe", |
29 | ], | 29 | ], |
30 | contextual_keywords: [ | ||
31 | "auto", | ||
32 | "default", | ||
33 | "union", | ||
34 | ], | ||
30 | tokens: [ | 35 | tokens: [ |
31 | "ERROR", | 36 | "ERROR", |
32 | "IDENT", | 37 | "IDENT", |