From 5da30a46d14ffec92387d260d7582c2f13f0af5f Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 21 Aug 2012 12:03:34 +0200 Subject: [PATCH] let test_ast compile again --- Makefile | 5 +++-- test/ast-test.c | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1f584cb..87aa154 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,11 @@ OBJ = \ util.o \ code.o \ ast.o \ - ir.o + ir.o \ + error.o OBJ_A = test/ast-test.o OBJ_I = test/ir-test.o -OBJ_C = main.o lexer.o parser.o error.o +OBJ_C = main.o lexer.o parser.o OBJ_X = exec-standalone.o util.o #default is compiler only diff --git a/test/ast-test.c b/test/ast-test.c index 74800dd..c173919 100644 --- a/test/ast-test.c +++ b/test/ast-test.c @@ -21,6 +21,7 @@ const char *opts_output = "progs.dat"; int opts_standard = COMPILER_GMQCC; bool opts_debug = false; bool opts_memchk = false; +bool opts_werror = false; #include "ast-macros.h"