diff options
Diffstat (limited to 'typedefs_cgen.c')
-rw-r--r-- | typedefs_cgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/typedefs_cgen.c b/typedefs_cgen.c index a6453de..77ea7f5 100644 --- a/typedefs_cgen.c +++ b/typedefs_cgen.c @@ -5,7 +5,8 @@ static bool typedefs_block(CGenerator *g, Block *b) { if (!cgen_block_enter(g, b)) return false; arr_foreach(b->stmts, Statement, s) - typedefs_stmt(g, s); + if (!typedefs_stmt(g, s)) + return false; cgen_block_exit(g, prev); return true; } |