help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: location tracking for the empty rule without prior symbol


From: Bill Allombert
Subject: Re: location tracking for the empty rule without prior symbol
Date: Mon, 20 Jul 2009 16:40:13 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Jul 20, 2009 at 09:35:09AM -0400, Joel E. Denny wrote:
> The mailing list never posted this message, so I'm sending it again.

Thanks a lot: I sent this question the first time 18 months ago and this is the
first answer I reveive.

> On Wed, 15 Jul 2009, Joel E. Denny wrote:
> 
> > 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{ @address@hidden; }
fix the issue.

Maybe the documentation of YYLLOC_DEFAULT should mention that possibility.

Cheers,
Bill.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]