diff options
author | Aleksey Kladov <[email protected]> | 2018-02-17 22:06:48 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-17 22:06:48 +0000 |
commit | c6f4a06b4297f498da4bc2cd747aa38effb855b0 (patch) | |
tree | a383a2e71da6029bbd6a5669b5f9d2b99a1b0a92 /tests/data/lexer | |
parent | 8c4c5b5b802a204bfeef52e215358ae838900f1f (diff) |
G: value_parameters, patterns & let statement
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 7a9509f3c..97ff3f954 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 | 3 | static mut type ref let |
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index 96528952b..851a671f5 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -49,4 +49,8 @@ WHITESPACE 1 " " | |||
49 | MUT_KW 3 "mut" | 49 | MUT_KW 3 "mut" |
50 | WHITESPACE 1 " " | 50 | WHITESPACE 1 " " |
51 | TYPE_KW 4 "type" | 51 | TYPE_KW 4 "type" |
52 | WHITESPACE 1 " " | ||
53 | REF_KW 3 "ref" | ||
54 | WHITESPACE 1 " " | ||
55 | LET_KW 3 "let" | ||
52 | WHITESPACE 1 "\n" | 56 | WHITESPACE 1 "\n" |