Parser
- Lexemes not immediately recognized in ::initialize MUST be tagged with "?".
This commit is contained in:
@@ -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.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user