Skip to content

Commit bde3795

Browse files
committed
Continue cheking
1 parent 32662c2 commit bde3795

File tree

1 file changed

+1
-1
lines changed
  • src/libsyntax/parse/lexer

1 file changed

+1
-1
lines changed

src/libsyntax/parse/lexer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ impl<'a> StringReader<'a> {
14451445
format!("\"{}\"", &self.src[start..end]),
14461446
Applicability::MachineApplicable
14471447
).emit();
1448-
FatalError.raise();
1448+
return Ok(token::Literal(token::Char(Symbol::intern("??")), None))
14491449
}
14501450
if self.ch_is('\n') || self.is_eof() || self.ch_is('/') {
14511451
// Only attempt to infer single line string literals. If we encounter

0 commit comments

Comments
 (0)