mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Make is_indirect easier to read
This commit is contained in:
parent
5c0c056e2c
commit
f9face0cef
1 changed files with 4 additions and 4 deletions
|
@ -718,11 +718,11 @@ is_const_ptr (expr_t *e)
|
|||
static __attribute__((pure)) int
|
||||
is_indirect (expr_t *e)
|
||||
{
|
||||
if (e->type == ex_expr && e->e.expr.op == '.')
|
||||
if ((e->type == ex_expr || e->type == ex_uexpr)
|
||||
&& e->e.expr.op == '.') {
|
||||
return 1;
|
||||
if (!(e->type == ex_uexpr && e->e.expr.op == '.'))
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static sblock_t *
|
||||
|
|
Loading…
Reference in a new issue