Ge Wang wrote:
This problem seems to be appearing on some linux systems - some versions of flex seems to have different requirements for where the unput macro is used in.
Last time i looked, that flex in Debian Testing was a much more recent version that the FC one.
I can't reproduce the error on the one FC3 system I can access right now (and currently in Beijing), but I put a modified chuck.lex file here:
http://chuck.cs.princeton.edu/release/files/snapshot/
Please download/replace chuck.lex and see if that helps (it may do no good). Please let me know how it turns out.
Thanks Ge. The new one still has the warning about the signed/unsigned comparison, but does error out with the undeclared yytext_ptr. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "When your hammer is C++, everything begins to look like a thumb." -- Steve Haflich, in comp.lang.c++