diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-24 22:17:41 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-24 22:32:22 -0700 |
commit | b38f2d82a80ea203f37c88746639a0efa8b66fbf (patch) | |
tree | fd1ef9145ec3f18b67f90f233653eb5f65119a3f /cc.h | |
parent | b95f69c821941fc73ff1bf397c549189bd5fce9a (diff) |
Use a common member for expression op
Diffstat (limited to 'cc.h')
-rw-r--r-- | cc.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -305,6 +305,7 @@ struct expr { struct type *type; /* the type qualifiers of the object this expression refers to (ignored for non-lvalues) */ enum typequal qual; + enum tokenkind op; struct expr *next; union { struct { @@ -330,19 +331,16 @@ struct expr { struct init *init; } compound; struct { - enum tokenkind op; _Bool post; struct expr *base; } incdec; struct { - enum tokenkind op; struct expr *base; } unary; struct { struct expr *e; } cast; struct { - enum tokenkind op; struct expr *l, *r; } binary; struct { |