summaryrefslogtreecommitdiff
path: root/typedefs_cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'typedefs_cgen.c')
-rw-r--r--typedefs_cgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/typedefs_cgen.c b/typedefs_cgen.c
index 46c629b..a068c74 100644
--- a/typedefs_cgen.c
+++ b/typedefs_cgen.c
@@ -46,7 +46,7 @@ static bool typedefs_decl(CGenerator *g, Declaration *d) {
cgen_nl(g);
}
}
- if (d->flags & DECL_FLAG_HAS_EXPR)
+ if (d->flags & DECL_HAS_EXPR)
if (!typedefs_expr(g, &d->expr))
return false;
return true;