fixed token dump
This commit is contained in:
parent
660306f6a5
commit
36396e97e9
2 changed files with 6 additions and 1 deletions
|
|
@ -19,8 +19,10 @@ void dump_tokens(Elite::ParserCtx &ctx)
|
|||
<< ", Location: " << tok.location
|
||||
<< '\n';
|
||||
|
||||
if (tok.kind() == yy::Parser::token::END)
|
||||
if (tok.kind() == yy::Parser::symbol_kind::S_YYEOF)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue