summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cgen.c b/cgen.c
index 46e221b..1b959d2 100644
--- a/cgen.c
+++ b/cgen.c
@@ -10,8 +10,10 @@ static void cgen_create(CGenerator *g, FILE *out, Identifiers *ids, Evaluator *e
}
static bool cgen_stmt(CGenerator *g, Statement *s);
-#define CGEN_BLOCK_NOENTER 0x01 /* should cgen_block actually enter and exit the block? */
-#define CGEN_BLOCK_NOBRACES 0x02 /* should it use braces? */
+enum {
+ CGEN_BLOCK_NOENTER = 0x01, /* should cgen_block actually enter and exit the block? */
+ CGEN_BLOCK_NOBRACES = 0x02, /* should it use braces? */
+};
static bool cgen_block(CGenerator *g, Block *b, const char *ret_name, uint16_t flags);
static bool cgen_expr_pre(CGenerator *g, Expression *e);
static bool cgen_expr(CGenerator *g, Expression *e);