mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
Ensure current_symtab gets set at the start of parsing.
current_symtab must be set even if the first thing encountered is a syntax error.
This commit is contained in:
parent
69b889756d
commit
34ffce50fa
1 changed files with 3 additions and 3 deletions
|
@ -246,9 +246,9 @@ defs
|
||||||
}
|
}
|
||||||
| defs def
|
| defs def
|
||||||
| defs obj_def
|
| defs obj_def
|
||||||
| error END { current_class = 0; yyerrok; }
|
| error END { current_class = 0; yyerrok; current_symtab = pr.symtab; }
|
||||||
| error ';' { yyerrok; }
|
| error ';' { yyerrok; current_symtab = pr.symtab; }
|
||||||
| error '}' { yyerrok; }
|
| error '}' { yyerrok; current_symtab = pr.symtab; }
|
||||||
;
|
;
|
||||||
|
|
||||||
def
|
def
|
||||||
|
|
Loading…
Reference in a new issue