mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 21:20:33 +00:00
Catch the error for undefined++.
This commit is contained in:
parent
a778d45ebf
commit
b9a0e2ce03
1 changed files with 2 additions and 0 deletions
|
@ -2077,6 +2077,8 @@ incop_expr (int op, expr_t *e, int postop)
|
|||
expr_t *block = new_block_expr ();
|
||||
expr_t *res = new_expr ();
|
||||
|
||||
if (e->type == ex_error) // get_type failed
|
||||
return e;
|
||||
t1 = new_temp_def_expr (type);
|
||||
t2 = new_temp_def_expr (type);
|
||||
append_expr (block, assign_expr (t1, e));
|
||||
|
|
Loading…
Reference in a new issue