diff options
Diffstat (limited to 'decls_cgen.c')
-rw-r--r-- | decls_cgen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/decls_cgen.c b/decls_cgen.c index 99ae190..b0382b5 100644 --- a/decls_cgen.c +++ b/decls_cgen.c @@ -291,6 +291,11 @@ static bool cgen_decls_stmt(CGenerator *g, Statement *s) { if (!cgen_decls_expr(g, &s->ret.expr)) return false; break; + case STMT_INCLUDE: + arr_foreach(s->inc.stmts, Statement, sub) + if (!cgen_decls_stmt(g, sub)) + return false; + break; } return true; } |