Lexer
- When parsing '\o/' the state Lexer::typeIdentifierEscape had no exit but a successful outcome, and looped. - Fixed test.
This commit is contained in:
@@ -244,6 +244,12 @@ bool Lexer::token (std::string& result, Type& type)
|
||||
type = typeEscapeUnicode;
|
||||
shift ();
|
||||
}
|
||||
else
|
||||
{
|
||||
type = quote ? typeString : typeIdentifier;
|
||||
result += utf8_character (_n0);
|
||||
shift ();
|
||||
}
|
||||
break;
|
||||
|
||||
case typeEscape:
|
||||
|
||||
Reference in New Issue
Block a user