test/ast-test.c must define opts_ variables since we don't compile main.c into it

This commit is contained in:
Wolfgang Bumiller 2012-07-28 21:56:35 +02:00
parent d05bee94d1
commit 06ee0dc4f7

View file

@ -12,6 +12,15 @@
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()