diff options
author | Aleksey Kladov <[email protected]> | 2018-01-08 18:21:59 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-08 18:21:59 +0000 |
commit | f25142c5edc579c7f7030c03c2673db238255bb2 (patch) | |
tree | c652b46e510f11b9c760fb8d94d31231d760c8a5 /tests/data/lexer | |
parent | 55027bed0867356a7c84ab2df3d6dcecc45e455d (diff) |
L: true and false are keywords
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 | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index aa89d70c5..1f4a4a74c 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -1 +1 @@ | |||
fn use struct trait enum impl | fn use struct trait enum impl true false | ||
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index d90047d1e..eded37084 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -9,4 +9,8 @@ WHITESPACE 1 " " | |||
9 | ENUM_KW 4 "enum" | 9 | ENUM_KW 4 "enum" |
10 | WHITESPACE 1 " " | 10 | WHITESPACE 1 " " |
11 | IMPL_KW 4 "impl" | 11 | IMPL_KW 4 "impl" |
12 | WHITESPACE 1 " " | ||
13 | TRUE_KW 4 "true" | ||
14 | WHITESPACE 1 " " | ||
15 | FALSE_KW 5 "false" | ||
12 | WHITESPACE 1 "\n" | 16 | WHITESPACE 1 "\n" |