This commit is contained in:
commit
b236dd9dc1
3 changed files with 245 additions and 154 deletions
|
|
@ -77,7 +77,7 @@ static void SetNodeLine(ZCC_TreeNode *name, int line)
|
|||
FString unexpected, expecting;
|
||||
|
||||
int i;
|
||||
int stateno = yypParser->yystack[yypParser->yyidx].stateno;
|
||||
int stateno = yypParser->yytos->stateno;
|
||||
|
||||
unexpected << "Unexpected " << ZCCTokenName(yymajor);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue