[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison java skeleton
From: |
Joel E. Denny |
Subject: |
Re: bison java skeleton |
Date: |
Mon, 24 Jan 2011 19:02:32 -0500 (EST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
Hi,
On Mon, 24 Jan 2011, Paolo Bonzini wrote:
> On 01/24/2011 09:13 AM, Angelo Borsotti wrote:
> >
> >
> > I am writing to you because I have found your name as the author of the
> > Java Bison skeleton.
> > I tried to use Bison to generate a Java parser. The generated java file
> > contains at the
> > beginning these lines:
> >
> > #define YYSTYPE double
> > #include <math.h>
> > int yylex (void);
> > void yyerror (char const *);
>
> This looks like a regression introduced recently. I'm CCing bug-bison.
Thanks for the report. However, I haven't managed to reproduce the
behavior you have described. Please describe the necessary steps to
reproduce it. Include the version of Bison you are using.
> Regarding StringBuffer/Builder, I think it is used only in case of a syntax
> error so it's not performance critical, but it's a good change.
Are you referring to the following patch?
commit d2060f0634f4adfb5db74cce540a9d27806091fe
Author: Joel E. Denny <address@hidden>
yysyntax_error: fix for consistent error with lookahead.