aboutsummaryrefslogtreecommitdiff
path: root/tests/data/lexer
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-02-02 20:30:17 +0000
committerAleksey Kladov <[email protected]>2018-02-02 20:30:17 +0000
commit049c9b60fb0c59625a37b0349aa27acaa3cf884a (patch)
treeee5b41eeba4c1e4debac89f18b7f424b958ff12d /tests/data/lexer
parentf9ecc680f0317bc56e661d7b41e7edcf52b2f995 (diff)
L: const & static keywords
Diffstat (limited to 'tests/data/lexer')
-rw-r--r--tests/data/lexer/0011_keywords.rs3
-rw-r--r--tests/data/lexer/0011_keywords.txt6
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs
index 02ca19089..7a1000bb7 100644
--- a/tests/data/lexer/0011_keywords.rs
+++ b/tests/data/lexer/0011_keywords.rs
@@ -1 +1,2 @@
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 static
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt
index 964e3475a..b38b4bd64 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,8 @@ 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 " "
47STATIC_KW 6 "static"
44WHITESPACE 1 "\n" 48WHITESPACE 1 "\n"