aboutsummaryrefslogtreecommitdiff
path: root/tests/data/lexer
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-02-02 20:46:04 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-02-02 20:46:04 +0000
commit5e7504b978c9b1365e0381691ef453e97603defa (patch)
tree44333026e9a488deef5ebc73eb6c8a277d1975dc /tests/data/lexer
parentf9ecc680f0317bc56e661d7b41e7edcf52b2f995 (diff)
parent0000f4f4f2f32c6ff67db6cbc27e3a49c85f4b99 (diff)
Merge #36
36: Static items r=matklad a=matklad
Diffstat (limited to 'tests/data/lexer')
-rw-r--r--tests/data/lexer/0011_keywords.rs4
-rw-r--r--tests/data/lexer/0011_keywords.txt8
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs
index 02ca19089..b74fc606e 100644
--- a/tests/data/lexer/0011_keywords.rs
+++ b/tests/data/lexer/0011_keywords.rs
@@ -1 +1,3 @@
1fn use struct trait enum impl true false as extern crate mod pub self super in where for loop while if match 1fn use struct trait enum impl true false as extern crate
2mod pub self super in where for loop while if match const
3static mut
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt
index 964e3475a..05b1f0995 100644
--- a/tests/data/lexer/0011_keywords.txt
+++ b/tests/data/lexer/0011_keywords.txt
@@ -19,7 +19,7 @@ WHITESPACE 1 " "
19EXTERN_KW 6 "extern" 19EXTERN_KW 6 "extern"
20WHITESPACE 1 " " 20WHITESPACE 1 " "
21CRATE_KW 5 "crate" 21CRATE_KW 5 "crate"
22WHITESPACE 1 " " 22WHITESPACE 1 "\n"
23MOD_KW 3 "mod" 23MOD_KW 3 "mod"
24WHITESPACE 1 " " 24WHITESPACE 1 " "
25PUB_KW 3 "pub" 25PUB_KW 3 "pub"
@@ -41,4 +41,10 @@ WHITESPACE 1 " "
41IF_KW 2 "if" 41IF_KW 2 "if"
42WHITESPACE 1 " " 42WHITESPACE 1 " "
43MATCH_KW 5 "match" 43MATCH_KW 5 "match"
44WHITESPACE 1 " "
45CONST_KW 5 "const"
46WHITESPACE 1 "\n"
47STATIC_KW 6 "static"
48WHITESPACE 1 " "
49MUT_KW 3 "mut"
44WHITESPACE 1 "\n" 50WHITESPACE 1 "\n"