mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-03 07:07:19 +02:00
Parser
- Lexemes not immediately recognized in ::initialize MUST be tagged with "?".
This commit is contained in:
parent
3c612a8551
commit
ccecec6895
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ void Parser::initialize (int argc, const char** argv)
|
||||||
|
|
||||||
if (l->second == Lexer::typeOperator)
|
if (l->second == Lexer::typeOperator)
|
||||||
sub->tag ("OP");
|
sub->tag ("OP");
|
||||||
|
else
|
||||||
|
sub->tag ("?");
|
||||||
|
|
||||||
// TODO More types needed. Perhaps.
|
// TODO More types needed. Perhaps.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue