Fix escaped quotes in raw string literals

This commit is contained in:
Noah committed 2020-05-05 12:22:19 -05:00
1 parent 76f7d7e2c3
commit 53ab5de00a
1 file changed
+1 -1
+1 -1
View File
@@ -530,7 +530,7 @@ where
loop {
match self.next_char() {
Some('\\') => {
if self.chr0 == Some(quote_char) {
if self.chr0 == Some(quote_char) && !is_raw {
string_content.push(quote_char);
self.next_char();
} else if is_raw {