From 6aee6c84fbfd0f11bbfd642610f783bc1b854234 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 4 Apr 2019 12:07:16 -0700 Subject: Use `enum tokenkind` for op in struct expr --- cc.h | 6 +++--- 1 file 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 { -- cgit v1.2.3