mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
that wasn't supposed to go in
This commit is contained in:
parent
72daa2fd2b
commit
8f365c4512
1 changed files with 2 additions and 3 deletions
|
@ -594,9 +594,8 @@ opt_initializer
|
|||
var_initializer
|
||||
: '=' expr // don't bother folding twice
|
||||
{
|
||||
if (current_scope->type == sc_params) {
|
||||
notice (0, "whee");
|
||||
} else if (current_scope->type == sc_local) {
|
||||
if (current_scope->type == sc_local
|
||||
|| current_scope->type == sc_params) {
|
||||
expr_t *expr = assign_expr (new_def_expr ($<def>0), $2);
|
||||
expr = fold_constants (expr);
|
||||
append_expr (local_expr, expr);
|
||||
|
|
Loading…
Reference in a new issue