Cancel process

This commit is contained in:
Yuki Okushi 2019-01-16 09:28:06 +09:00
parent d19294feee
commit ec8db2a944

View file

@ -1445,7 +1445,7 @@ impl<'a> StringReader<'a> {
format!("\"{}\"", &self.src[start..end]),
Applicability::MachineApplicable
).emit();
return Ok(token::Literal(token::Str_(Symbol::intern("??")), None))
FatalError.raise();
}
if self.ch_is('\n') || self.is_eof() || self.ch_is('/') {
// Only attempt to infer single line string literals. If we encounter