Re: set flex start conditions from bison?

2009-08-28 Thread Akim Demaille
Le 27 août 09 à 20:52, Rui Maciel a écrit : I don't know what Flex you use, but using 2.5.35 it does not compile: you're using push_state, which is static in the scanner.c file, from the parser.c file. Yes, that's the most recent SNAFU I stumbled on. Yet, it only goes that far if I add to t

Running bison in another project.

2009-08-28 Thread Daniel Olson
Hey, I want to be able to run a Bison output file in another project, but I don't know how. What I think I need to do is A: set a string to be parsed; B: parse that string. I want to do all of that from inside a C file, how would I go about doing this? _