diff options
author | Aleksey Kladov <[email protected]> | 2018-01-01 15:58:46 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-01 15:58:46 +0000 |
commit | cb362626f326a565aca34c1a11c95dcb7152b798 (patch) | |
tree | 5a1cc081e36b4061f8e9275db9bf14ed71e924f9 /tests/data | |
parent | 0af33a2587e4fb96e5001492792f1e926d576e27 (diff) |
Parser: guess what? Groundwork!
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/lexer/0011_keywords.rs | 1 | ||||
-rw-r--r-- | tests/data/lexer/0011_keywords.txt | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs new file mode 100644 index 000000000..aa89d70c5 --- /dev/null +++ b/tests/data/lexer/0011_keywords.rs | |||
@@ -0,0 +1 @@ | |||
fn use struct trait enum impl | |||
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt new file mode 100644 index 000000000..d90047d1e --- /dev/null +++ b/tests/data/lexer/0011_keywords.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | FN_KW 2 "fn" | ||
2 | WHITESPACE 1 " " | ||
3 | USE_KW 3 "use" | ||
4 | WHITESPACE 1 " " | ||
5 | STRUCT_KW 6 "struct" | ||
6 | WHITESPACE 1 " " | ||
7 | TRAIT_KW 5 "trait" | ||
8 | WHITESPACE 1 " " | ||
9 | ENUM_KW 4 "enum" | ||
10 | WHITESPACE 1 " " | ||
11 | IMPL_KW 4 "impl" | ||
12 | WHITESPACE 1 "\n" | ||