mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
Lexer
- When parsing '\o/' the state Lexer::typeIdentifierEscape had no exit but a successful outcome, and looped. - Fixed test.
This commit is contained in:
parent
bb060d5ff8
commit
51f08496b5
3 changed files with 11 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue