aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cc.h b/cc.h
index 4a97a99..03ae663 100644
--- a/cc.h
+++ b/cc.h
@@ -442,7 +442,12 @@ struct expr *exprpromote(struct expr *);
/* eval */
-struct expr *eval(struct expr *);
+enum evalkind {
+ EVALARITH, /* arithmetic constant expression */
+ EVALINIT, /* initializer constant expression */
+};
+
+struct expr *eval(struct expr *, enum evalkind);
/* init */