Open rpural opened 8 years ago
Hi,
I've been using bison version 3.0.2, which given the version number increment, may be a breaking difference.
Also, my flex version for this project is 2.5.35. I don't know how other editions will perform.
I will update the wiki article to reflect these version numbers,
Thanks!
for the first error, you should use rm -f in the makefile
Build failed after cloning from github:
rpn01@R5057499 ritchie:0 $ make clean rm ritc ritchie.tab.c lex.yy.c ritchie.tab.h rm: ritc: No such file or directory rm: ritchie.tab.c: No such file or directory rm: ritchie.tab.h: No such file or directory make: * [clean] Error 1 rpn01@R5057499 ritchie:2 $ make bison -d ritchie.y ritchie.y:15.9-16: syntax error, unexpected identifier, expecting string make: * [ritchie.tab.h] Error 1 rpn01@R5057499 ritchie:2 $ bison -V bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. rpn01@R5057499 ritchie:0 $
I'm not a bison user per se, but others seem to have gotten further with this. Any suggestions?