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{ @$.sta...@$.end=*lex; } fix the issue. Maybe the documentation of YYLLOC_DEFAULT should mention that possibility. Cheers, Bill. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison