aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-22 12:27:18 -0800
committerMichael Forney <mforney@mforney.org>2019-02-22 12:27:18 -0800
commita1a5214bbae2b1b4c988e5f3d1b6415b64a890c6 (patch)
tree41f0989e15dae71edeb84d54e8f22c070c978c96
parente2a5e7e5f004fb9ac93d4118eb98ac040e10c897 (diff)
Only need to emit tentative definitions when compiling
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4783bdd..dd8ddb6 100644
--- a/main.c
+++ b/main.c
@@ -60,8 +60,8 @@ main(int argc, char *argv[])
if (!decl(&filescope, NULL))
error(&tok.loc, "expected declaration or function definition");
}
+ emittentativedefns();
}
- emittentativedefns();
return 0;
}