views:

231

answers:

1

Hi, i have a lex and yacc file which compiles fine on linux. When i try to compile it on windows using Visual c++ using the lex.yy.c & y.tab.c files i get the following error:

program1.y(184) : error C2059: syntax error : '<'

line 184 is

#define YYLAST      95
A: 

Here is how i build my files. I think --nounistd is what you need

bison --report=all -y -d ./test.y
flex --nounistd ./test.l
acidzombie24