Hello! I'm trying to bootstrap bison to start hacking on it. I just did it successfully on a computer, but on another one, it's not working.
I have a bison version 3.0.4 installed, and after cloning, running bootstrap, configure and make, it fails to generate the src/scan-code.c file. When I run $ bison -y ../src/scan-code.l -o src/scan-code.c it fails because it doesn't recognize %option: ../src/scan-code.l:20.1-7: error: invalid directive: ‘%option’ %option debug nodefault noinput nounput noyywrap never-interactive Any idea why that happens? Is it because my bison is too old? In which case, where can I download a (pre-compiled) newer one, for linux (a debian-like)? Thanks, -- Valentin Tolmer _______________________________________________ [email protected] https://lists.gnu.org/mailman/listinfo/help-bison
