aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2017-12-29 22:01:57 +0000
committerAleksey Kladov <[email protected]>2017-12-29 22:01:57 +0000
commit8103772a10f00378c4dcdd09f9af310c23146933 (patch)
tree7ff8a8937f495b71cd049c85e71faa7487cafbb9 /tests/data
parentff5a6549b48ab526ebca830afbaec10360fcf42d (diff)
Lexer: underscore
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/lexer/0003_ident.rs1
-rw-r--r--tests/data/lexer/0003_ident.txt14
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 @@
1IDENT 3
2WHITESPACE 1
3IDENT 4
4WHITESPACE 1
5IDENT 4
6WHITESPACE 1
7UNDERSCORE 1
8WHITESPACE 1
9IDENT 2
10WHITESPACE 1
11IDENT 1
12WHITESPACE 1
13IDENT 12
14WHITESPACE 1