On 12 Apr 2007, at 15:54, Tamas Nagy wrote:

When i run my parser on a VRML 2.0 file
or the DIVE VRML 1.0 parser on a VRML 1.0 file,
i get the following error, which is not too
informative:

redblue.wrl:5: Error:
syntax error  before 'å'

How can i get these error messages more informative,
for example how to print the last good token?

Wait until better error reporting has been implemented into Bison generated parsers, or tweak the skeleton file (and include it with --/ %skeleton). :-)

  Hans Aberg




_______________________________________________
[EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to