diff options
Diffstat (limited to 'tests/data/lexer')
-rw-r--r-- | tests/data/lexer/0011_keywords.rs | 2 | ||||
-rw-r--r-- | tests/data/lexer/0011_keywords.txt | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index c2c9e5667..02ca19089 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -1 +1 @@ | |||
fn use struct trait enum impl true false as extern crate mod pub self super in where | fn use struct trait enum impl true false as extern crate mod pub self super in where for loop while if match | ||
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index 301ee21e2..964e3475a 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -31,4 +31,14 @@ WHITESPACE 1 " " | |||
31 | IN_KW 2 "in" | 31 | IN_KW 2 "in" |
32 | WHITESPACE 1 " " | 32 | WHITESPACE 1 " " |
33 | WHERE_KW 5 "where" | 33 | WHERE_KW 5 "where" |
34 | WHITESPACE 1 " " | ||
35 | FOR_KW 3 "for" | ||
36 | WHITESPACE 1 " " | ||
37 | LOOP_KW 4 "loop" | ||
38 | WHITESPACE 1 " " | ||
39 | WHILE_KW 5 "while" | ||
40 | WHITESPACE 1 " " | ||
41 | IF_KW 2 "if" | ||
42 | WHITESPACE 1 " " | ||
43 | MATCH_KW 5 "match" | ||
34 | WHITESPACE 1 "\n" | 44 | WHITESPACE 1 "\n" |