mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-21 11:11:37 +00:00
Remove support for break as an identifier.
I never really liked it, but I have a better solution in the pipe-line.
This commit is contained in:
parent
33bb422849
commit
7d928047ae
1 changed files with 0 additions and 6 deletions
|
@ -1193,7 +1193,6 @@ opt_expr
|
|||
|
||||
unary_expr
|
||||
: NAME { $$ = new_symbol_expr ($1); }
|
||||
| BREAK %prec BREAK_PRIMARY { $$ = new_name_expr (save_string ("break")); }
|
||||
| ARGS { $$ = new_name_expr (".args"); }
|
||||
| SELF { $$ = new_self_expr (); }
|
||||
| THIS { $$ = new_this_expr (); }
|
||||
|
@ -1286,11 +1285,6 @@ string
|
|||
|
||||
identifier
|
||||
: NAME
|
||||
| BREAK
|
||||
{
|
||||
if (!($$ = symtab_lookup (current_symtab, "break")))
|
||||
$$ = new_symbol ("break");
|
||||
}
|
||||
| OBJECT
|
||||
| CLASS_NAME
|
||||
| TYPE_NAME
|
||||
|
|
Loading…
Reference in a new issue