diff options
Diffstat (limited to 'tests/data/lexer')
-rw-r--r-- | tests/data/lexer/0011_keywords.rs | 4 | ||||
-rw-r--r-- | tests/data/lexer/0011_keywords.txt | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index 02ca19089..b74fc606e 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -1 +1,3 @@ | |||
1 | fn use struct trait enum impl true false as extern crate mod pub self super in where for loop while if match | 1 | fn use struct trait enum impl true false as extern crate |
2 | mod pub self super in where for loop while if match const | ||
3 | static mut | ||
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index 964e3475a..05b1f0995 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -19,7 +19,7 @@ WHITESPACE 1 " " | |||
19 | EXTERN_KW 6 "extern" | 19 | EXTERN_KW 6 "extern" |
20 | WHITESPACE 1 " " | 20 | WHITESPACE 1 " " |
21 | CRATE_KW 5 "crate" | 21 | CRATE_KW 5 "crate" |
22 | WHITESPACE 1 " " | 22 | WHITESPACE 1 "\n" |
23 | MOD_KW 3 "mod" | 23 | MOD_KW 3 "mod" |
24 | WHITESPACE 1 " " | 24 | WHITESPACE 1 " " |
25 | PUB_KW 3 "pub" | 25 | PUB_KW 3 "pub" |
@@ -41,4 +41,10 @@ WHITESPACE 1 " " | |||
41 | IF_KW 2 "if" | 41 | IF_KW 2 "if" |
42 | WHITESPACE 1 " " | 42 | WHITESPACE 1 " " |
43 | MATCH_KW 5 "match" | 43 | MATCH_KW 5 "match" |
44 | WHITESPACE 1 " " | ||
45 | CONST_KW 5 "const" | ||
46 | WHITESPACE 1 "\n" | ||
47 | STATIC_KW 6 "static" | ||
48 | WHITESPACE 1 " " | ||
49 | MUT_KW 3 "mut" | ||
44 | WHITESPACE 1 "\n" | 50 | WHITESPACE 1 "\n" |