mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Lexer
- Improved ::isIdentifier, ::isUUID and ::isDOM.
This commit is contained in:
parent
2af470bb90
commit
237d932ff9
3 changed files with 73 additions and 13 deletions
|
@ -358,6 +358,7 @@ void Eval::evaluatePostfixStack (
|
|||
throw std::string (STRING_EVAL_OP_EXPECTED);
|
||||
break;
|
||||
|
||||
case Lexer::Type::dom:
|
||||
case Lexer::Type::identifier:
|
||||
{
|
||||
bool found = false;
|
||||
|
@ -873,6 +874,7 @@ std::string Eval::dump (
|
|||
color_map[Lexer::Type::number] = Color ("rgb530 on gray6");
|
||||
color_map[Lexer::Type::hex] = Color ("rgb303 on gray6");
|
||||
color_map[Lexer::Type::string] = Color ("rgb550 on gray6");
|
||||
color_map[Lexer::Type::dom] = Color ("rgb045 on gray6");
|
||||
color_map[Lexer::Type::identifier] = Color ("rgb035 on gray6");
|
||||
color_map[Lexer::Type::date] = Color ("rgb150 on gray6");
|
||||
color_map[Lexer::Type::duration] = Color ("rgb531 on gray6");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue