On Thu February 16 2006 10:29, [EMAIL PROTECTED] wrote: > Thanks for the response. > > Changing %pure_parser to %pure-parser does not change any of the > behaviour. The compile error message is exactly the same. The > developers seem to have dummy proofed at least this part. > > Any other ideas?
For an example of a reentrant flex/bison parser, see http://users.erols.com/blilly/mparse/index.html Basically, you need to tell flex to generate a header file with the macro definitions and function declarations, then you need to massage it (see make.file in the package above) e.g. using sed to make it play nicely with bison and gcc. Finally, you need to have the parser #include the massaged header file at an appropriate point. _______________________________________________ [email protected] http://lists.gnu.org/mailman/listinfo/help-bison
