From f4f79038d103c77e36b9b4eb74f532a7f9598234 Mon Sep 17 00:00:00 2001 From: Christopher Durham Date: Sun, 28 Jan 2018 05:08:25 -0500 Subject: Block Comments closes #7 --- tests/data/lexer/00012_block_comment.rs | 4 ++++ tests/data/lexer/00012_block_comment.txt | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/data/lexer/00012_block_comment.rs create mode 100644 tests/data/lexer/00012_block_comment.txt (limited to 'tests/data') 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 @@ +/* */ +/**/ +/* /* */ */ +/* 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 @@ +COMMENT 5 "/* */" +WHITESPACE 1 "\n" +COMMENT 4 "/**/" +WHITESPACE 1 "\n" +COMMENT 11 "/* /* */ */" +WHITESPACE 1 "\n" +COMMENT 3 "/*\n" -- cgit v1.2.3