aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/dump.c')
-rw-r--r--bootstrap/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/dump.c b/bootstrap/dump.c
index 0cf5670..c6b20ff 100644
--- a/bootstrap/dump.c
+++ b/bootstrap/dump.c
@@ -386,8 +386,8 @@ dumpstmt(const struct stmt *stmt, int ws) {
epri("%w}\n", ws);
break;
case Sreturn:
- if (stmt->retex)
- epri("%wreturn %e;\n", ws, stmt->retex);
+ if (stmt->ret.ex)
+ epri("%wreturn %e;\n", ws, stmt->ret.ex);
else
epri("%wreturn;\n", ws);
break;