Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> /usr/bin/flex -CF -o'scan.c' scan.l
> gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include -c -o gram.o gram.c
> In file included from gram.y:7990:
> scan.c:121: parse error before string constant
> scan.c:247: parse error before string constant
> scan.c:250: parse error before string constant
> scan.c:251: parse error before string constant
> ...
> What string constant?! Will try again later...
Which flex version are you using? You need 2.5.4 --- the most recent
versions have broken backwards compatibility :-(. I'm not sure what the
symptom looks like, though.
regards, tom lane