Re: yacc and flex

2000-03-22 Thread Tom Tromey
> "Sascha" == Sascha Ziemann <[EMAIL PROTECTED]> writes: Sascha> flex conf_lexer.l && mv lex.yy.c conf_lexer.c Sascha> gcc -c conf_lexer.c Sascha> bison -y conf_parser.y && mv y.tab.c conf_parser.c Sascha> gcc -c conf_parser.c Sascha> And this means, that the tokens are not available i

yacc and flex

2000-03-22 Thread Sascha Ziemann
Hi, I am trying to create a lex/yacc program with automake support. I was used to include the output from flex into the yacc file. So the token definitions of yacc are visible for flex. But when I use automake the Makefile wants to compile it this order: flex conf_lexer.l && mv lex.yy.c conf