mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Grab undef id early
I'm unsure of the small string handling is a premature optimization, but when most tokens are small...
This commit is contained in:
parent
e402d0fa21
commit
243a3de629
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,8 @@ directive
|
|||
params ')' <macro> { $$ = rua_end_params ($3, scanner); }
|
||||
body { rua_macro_finish ($body, scanner); }
|
||||
eod
|
||||
| UNDEF ID extra_warn { rua_undefine ($2, scanner); }
|
||||
| UNDEF ID { rua_undefine ($2, scanner); }
|
||||
extra_warn
|
||||
| ERROR text { error (0, "%s", $text->str); dstring_delete ($text); }
|
||||
eod
|
||||
| WARNING text { warning (0, "%s", $text->str); dstring_delete ($text); }
|
||||
|
|
Loading…
Reference in a new issue