diff options
author | Aleksey Kladov <[email protected]> | 2018-02-02 20:45:15 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-02 20:45:15 +0000 |
commit | 0000f4f4f2f32c6ff67db6cbc27e3a49c85f4b99 (patch) | |
tree | 44333026e9a488deef5ebc73eb6c8a277d1975dc /tests/data/lexer | |
parent | 049c9b60fb0c59625a37b0349aa27acaa3cf884a (diff) |
G: static items
Diffstat (limited to 'tests/data/lexer')
-rw-r--r-- | tests/data/lexer/0011_keywords.rs | 3 | ||||
-rw-r--r-- | tests/data/lexer/0011_keywords.txt | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index 7a1000bb7..b74fc606e 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -1,2 +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 static | 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 b38b4bd64..05b1f0995 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -43,6 +43,8 @@ WHITESPACE 1 " " | |||
43 | MATCH_KW 5 "match" | 43 | MATCH_KW 5 "match" |
44 | WHITESPACE 1 " " | 44 | WHITESPACE 1 " " |
45 | CONST_KW 5 "const" | 45 | CONST_KW 5 "const" |
46 | WHITESPACE 1 " " | 46 | WHITESPACE 1 "\n" |
47 | STATIC_KW 6 "static" | 47 | STATIC_KW 6 "static" |
48 | WHITESPACE 1 " " | ||
49 | MUT_KW 3 "mut" | ||
48 | WHITESPACE 1 "\n" | 50 | WHITESPACE 1 "\n" |