aboutsummaryrefslogtreecommitdiff
path: root/tests/data/lexer
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-01 15:58:46 +0000
committerAleksey Kladov <[email protected]>2018-01-01 15:58:46 +0000
commitcb362626f326a565aca34c1a11c95dcb7152b798 (patch)
tree5a1cc081e36b4061f8e9275db9bf14ed71e924f9 /tests/data/lexer
parent0af33a2587e4fb96e5001492792f1e926d576e27 (diff)
Parser: guess what? Groundwork!
Diffstat (limited to 'tests/data/lexer')
-rw-r--r--tests/data/lexer/0011_keywords.rs1
-rw-r--r--tests/data/lexer/0011_keywords.txt12
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 @@
1FN_KW 2 "fn"
2WHITESPACE 1 " "
3USE_KW 3 "use"
4WHITESPACE 1 " "
5STRUCT_KW 6 "struct"
6WHITESPACE 1 " "
7TRAIT_KW 5 "trait"
8WHITESPACE 1 " "
9ENUM_KW 4 "enum"
10WHITESPACE 1 " "
11IMPL_KW 4 "impl"
12WHITESPACE 1 "\n"