- Fixed scanner problem (I forgot the interaction between flex and bison)

This commit is contained in:
ccremers 2007-01-09 15:22:34 +00:00
parent c125c8f54e
commit eb7f14c891
2 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,7 @@ if (BISON_FOUND)
COMMAND ${BISON_EXECUTABLE} COMMAND ${BISON_EXECUTABLE}
# TODO: I should look up from which version the -o # TODO: I should look up from which version the -o
# switch works, might not be portable. # switch works, might not be portable.
ARGS -oparser.c parser.y ARGS -d -oparser.c parser.y
COMMENT "Building parser.c from parser.y using bison" COMMENT "Building parser.c from parser.y using bison"
) )
else (BISON_FOUND) else (BISON_FOUND)

View File

@ -1,6 +1,5 @@
%{ %{
#include "pheading.h" #include "pheading.h"
/* #include "lex.yy.c" */
#include "tac.h" #include "tac.h"
#include "error.h" #include "error.h"