On Sat, Feb 19, 2011 at 12:26:47PM -0500, Joel E. Denny wrote:
> On Sat, 12 Feb 2011, Bill Allombert wrote:
>
> > I have a grammar that handles errors.
>
> Do you mean you're using Bison's error token?
Yes.
> Or do you mean that you've written gr
Dear Bison people,
I have a grammar that handles errors. However, in this contest, discarding
tokens is highly undesirable, much more so than aborting.
What is the proper way to prevent bison from discarding token and instead abort
?
Thanks in advance for your answer,
Bill.
___
t;
> > On Fri, 26 Jun 2009, Bill Allombert wrote:
> >
> > > Is there a way I can initialize a custom YYLTYPE ?
> >
> > Search for %initial-action in the Bison manual.
That works fine, great! In the example at hand a single line
%initial-action{ @$.sta...@$.end=*le
Hello GNU Bison people,
I am using location tracking. While it works great in general, there
is a corner case where I am unsure about the intended behaviour of
bison and how the program should handle it.
The issue is related to the value of @$ for the first reduction when the rule
involved has no
Hello GNU Bison people,
I am using location tracking. While it works great in general, there
is a corner case where I am unsure about the intended behaviour of
bison and how the program should handle it.
The issue is what is the value of @$ for the first reduction when the rule
involved has no co