aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-04 12:07:16 -0700
committerMichael Forney <mforney@mforney.org>2019-04-04 12:31:18 -0700
commit6aee6c84fbfd0f11bbfd642610f783bc1b854234 (patch)
treeb15578628785dda0c1c407a7109cfed9d3203e24
parent00200e2d3c60cceb9e485d93c5565497a88310be (diff)
Use `enum tokenkind` for op in struct expr
-rw-r--r--cc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc.h b/cc.h
index ba7e79e..20295f6 100644
--- a/cc.h
+++ b/cc.h
@@ -402,19 +402,19 @@ struct expr {
struct init *init;
} compound;
struct {
- int op;
+ enum tokenkind op;
_Bool post;
struct expr *base;
} incdec;
struct {
- int op;
+ enum tokenkind op;
struct expr *base;
} unary;
struct {
struct expr *e;
} cast;
struct {
- int op;
+ enum tokenkind op;
struct expr *l, *r;
} binary;
struct {