diff options
Diffstat (limited to 'bootstrap/parse.c')
| -rw-r--r-- | bootstrap/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/parse.c b/bootstrap/parse.c index b113618..08f83a8 100644 --- a/bootstrap/parse.c +++ b/bootstrap/parse.c @@ -1523,7 +1523,7 @@ pexprefix(struct parser *P) { tok.t, exprdup(ex) } }; - } else if (lexmatch(P, &tok, TKkw_not)) { + } else if (lexmatch(P, &tok, '!')) { struct expr ex = pexprefix(P); if (ex.ty->t != TYbool) @@ -1531,7 +1531,7 @@ pexprefix(struct parser *P) { ex.ty, tok); return (struct expr) { Eprefix, tok.span, ty_bool, .unop = { - 'not', exprdup(ex) + '!', exprdup(ex) } }; } else if (lexmatch(P, &tok, '*')) { |