]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
test/ast-test.c must define opts_ variables since we don't compile main.c into it
authorWolfgang Bumiller <wolfgang.linux@bumiller.com>
Sat, 28 Jul 2012 19:56:35 +0000 (21:56 +0200)
committerWolfgang Bumiller <wolfgang.linux@bumiller.com>
Sat, 28 Jul 2012 19:56:35 +0000 (21:56 +0200)
test/ast-test.c

index c57e43644f66685b5c7343b9c52a94b447044ff5..3862144d8395a30d7d9f7d771bc1cdb67d2591b2 100644 (file)
 VECTOR_MAKE(ast_value*, globals);
 VECTOR_MAKE(ast_function*, functions);
 
+uint32_t    opts_flags[1 + (COUNT_FLAGS / 32)];
+uint32_t    opts_warn [1 + (COUNT_WARNINGS / 32)];
+
+uint32_t    opts_O        = 1;
+const char *opts_output   = "progs.dat";
+int         opts_standard = COMPILER_GMQCC;
+bool        opts_debug    = false;
+bool        opts_memchk   = false;
+
 #include "ast-macros.h"
 
 int main()