diff options
author | Aleksey Kladov <[email protected]> | 2018-01-12 19:05:46 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-12 19:05:46 +0000 |
commit | f31d85860771b0c4c8d232d79e4a3489a051ba9d (patch) | |
tree | 931adff1f926fa41943b726282f20822ade8ee36 /tests/data/lexer | |
parent | c111a1f7b8b9da2b4691c792e1658b2888ff5420 (diff) |
G: visibility
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 | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index 58568b20d..c5a58a205 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -1 +1,2 @@ | |||
1 | fn use struct trait enum impl true false as extern crate mod | 1 | fn use struct trait enum impl true false as extern crate mod pub self super |
2 | |||
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index 35d9a3871..248628f34 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -21,4 +21,10 @@ WHITESPACE 1 " " | |||
21 | CRATE_KW 5 "crate" | 21 | CRATE_KW 5 "crate" |
22 | WHITESPACE 1 " " | 22 | WHITESPACE 1 " " |
23 | MOD_KW 3 "mod" | 23 | MOD_KW 3 "mod" |
24 | WHITESPACE 1 "\n" | 24 | WHITESPACE 1 " " |
25 | PUB_KW 3 "pub" | ||
26 | WHITESPACE 1 " " | ||
27 | SELF_KW 4 "self" | ||
28 | WHITESPACE 1 " " | ||
29 | SUPER_KW 5 "super" | ||
30 | WHITESPACE 2 "\n\n" | ||