diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 22:14:26 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 22:14:26 +0100 |
commit | a750135a0ac5a42035a1baa808e0af8ae562cd72 (patch) | |
tree | aa36d394a72cb4c41107152e5dabf255118dc92b /tests/data/lexer | |
parent | a31cb829ed763f9dd1fcf422469eedd3402e5fbc (diff) |
If expr
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 | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index 97ff3f954..2a78b5dd2 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -1,3 +1,3 @@ | |||
1 | fn use struct trait enum impl true false as extern crate | 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 | 2 | mod pub self super in where for loop while if match const |
3 | static mut type ref let | 3 | static mut type ref let else |
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index 851a671f5..e25d7d4b4 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -53,4 +53,6 @@ WHITESPACE 1 " " | |||
53 | REF_KW 3 "ref" | 53 | REF_KW 3 "ref" |
54 | WHITESPACE 1 " " | 54 | WHITESPACE 1 " " |
55 | LET_KW 3 "let" | 55 | LET_KW 3 "let" |
56 | WHITESPACE 1 " " | ||
57 | ELSE_KW 4 "else" | ||
56 | WHITESPACE 1 "\n" | 58 | WHITESPACE 1 "\n" |