diff options
author | Christopher Durham <[email protected]> | 2018-01-28 10:08:25 +0000 |
---|---|---|
committer | Christopher Durham <[email protected]> | 2018-01-28 10:08:25 +0000 |
commit | f4f79038d103c77e36b9b4eb74f532a7f9598234 (patch) | |
tree | e315526832ad8380e78c9bd45d92ae1a871e0b3f /tests/data | |
parent | eafb9c3ab4fa53697c5ce4e595b26e91c5d79126 (diff) |
Block Comments
closes #7
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/lexer/00012_block_comment.rs | 4 | ||||
-rw-r--r-- | tests/data/lexer/00012_block_comment.txt | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/data/lexer/00012_block_comment.rs b/tests/data/lexer/00012_block_comment.rs new file mode 100644 index 000000000..708aac197 --- /dev/null +++ b/tests/data/lexer/00012_block_comment.rs | |||
@@ -0,0 +1,4 @@ | |||
1 | /* */ | ||
2 | /**/ | ||
3 | /* /* */ */ | ||
4 | /* | ||
diff --git a/tests/data/lexer/00012_block_comment.txt b/tests/data/lexer/00012_block_comment.txt new file mode 100644 index 000000000..9958b2518 --- /dev/null +++ b/tests/data/lexer/00012_block_comment.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | COMMENT 5 "/* */" | ||
2 | WHITESPACE 1 "\n" | ||
3 | COMMENT 4 "/**/" | ||
4 | WHITESPACE 1 "\n" | ||
5 | COMMENT 11 "/* /* */ */" | ||
6 | WHITESPACE 1 "\n" | ||
7 | COMMENT 3 "/*\n" | ||