From 109658332a75ca91d6dc2bf573e0ab77fa5619ca Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 14 Aug 2018 15:03:27 +0300 Subject: Support raw strings in lexer --- crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs | 1 + crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs create mode 100644 crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt (limited to 'crates/libsyntax2/tests/data') diff --git a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs new file mode 100644 index 000000000..e5ed0b693 --- /dev/null +++ b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs @@ -0,0 +1 @@ +r###"this is a r##"raw"## string"### diff --git a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt new file mode 100644 index 000000000..9cf0957d1 --- /dev/null +++ b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt @@ -0,0 +1,2 @@ +RAW_STRING 36 "r###\"this is a r##\"raw\"## string\"###" +WHITESPACE 1 "\n" -- cgit v1.2.3