From: Wolfgang (Blub) Bumiller Date: Tue, 21 Aug 2012 10:03:34 +0000 (+0200) Subject: let test_ast compile again X-Git-Tag: 0.1-rc1~119 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5da30a46d14ffec92387d260d7582c2f13f0af5f;p=xonotic%2Fgmqcc.git let test_ast compile again --- 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"