From a1a5214bbae2b1b4c988e5f3d1b6415b64a890c6 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 22 Feb 2019 12:27:18 -0800 Subject: Only need to emit tentative definitions when compiling --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3