summaryrefslogtreecommitdiff
path: root/decls_cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'decls_cgen.c')
-rw-r--r--decls_cgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decls_cgen.c b/decls_cgen.c
index 08d0727..5b4467b 100644
--- a/decls_cgen.c
+++ b/decls_cgen.c
@@ -164,7 +164,7 @@ static void cgen_sdecls_stmt(CGenerator *g, Statement *s) {
cgen_sdecls_stmt(g, s->defer);
break;
case STMT_USE:
- cgen_sdecls_expr(g, s->use);
+ cgen_sdecls_expr(g, &s->use->expr);
break;
}
}
@@ -399,7 +399,7 @@ static void cgen_decls_stmt(CGenerator *g, Statement *s) {
cgen_decls_stmt(g, s->defer);
break;
case STMT_USE:
- cgen_sdecls_expr(g, s->use);
+ cgen_sdecls_expr(g, &s->use->expr);
break;
}
}