diff options
Diffstat (limited to 'bootstrap/parse.c')
| -rw-r--r-- | bootstrap/parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/parse.c b/bootstrap/parse.c index 1848caf..aeb8124 100644 --- a/bootstrap/parse.c +++ b/bootstrap/parse.c @@ -1690,6 +1690,8 @@ pexcmp(struct parser *P) { if (matchcmpop(P, &tok)) { P->targty = ex.ty; struct expr rhs = pexbitarith(P); + P->used_targty = 0; + P->targty = NULL; if (!typeof2(ex.ty, rhs.ty)) fatal(P, tok.span, "incompatible operands %t and %t to binary operator %T", ex.ty, rhs.ty, tok); |