|
From: | Hans Aberg |
Subject: | Re: Bison error |
Date: | Thu, 12 Apr 2007 20:11:03 +0200 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |