diff options
author | Aleksey Kladov <[email protected]> | 2017-12-29 22:01:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2017-12-29 22:01:57 +0000 |
commit | 8103772a10f00378c4dcdd09f9af310c23146933 (patch) | |
tree | 7ff8a8937f495b71cd049c85e71faa7487cafbb9 /tests/data | |
parent | ff5a6549b48ab526ebca830afbaec10360fcf42d (diff) |
Lexer: underscore
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/lexer/0003_ident.rs | 1 | ||||
-rw-r--r-- | tests/data/lexer/0003_ident.txt | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/lexer/0003_ident.rs b/tests/data/lexer/0003_ident.rs new file mode 100644 index 000000000..c05c9c009 --- /dev/null +++ b/tests/data/lexer/0003_ident.rs | |||
@@ -0,0 +1 @@ | |||
foo foo_ _foo _ __ x привет | |||
diff --git a/tests/data/lexer/0003_ident.txt b/tests/data/lexer/0003_ident.txt new file mode 100644 index 000000000..eec82fb91 --- /dev/null +++ b/tests/data/lexer/0003_ident.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | IDENT 3 | ||
2 | WHITESPACE 1 | ||
3 | IDENT 4 | ||
4 | WHITESPACE 1 | ||
5 | IDENT 4 | ||
6 | WHITESPACE 1 | ||
7 | UNDERSCORE 1 | ||
8 | WHITESPACE 1 | ||
9 | IDENT 2 | ||
10 | WHITESPACE 1 | ||
11 | IDENT 1 | ||
12 | WHITESPACE 1 | ||
13 | IDENT 12 | ||
14 | WHITESPACE 1 | ||