[Top][All Lists]

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

Re: glr: include the created header

From: Joel E. Denny
Subject: Re: glr: include the created header
Date: Fri, 16 Jun 2006 12:16:57 -0400 (EDT)

On Fri, 16 Jun 2006, Akim Demaille wrote:

> >>> "Joel" == Joel E Denny <address@hidden> writes:
>  > +  /* Header prologue. */
>  > +  "%header{"  code_start = loc->start; BEGIN SC_HEADER_PROLOGUE;
> No, please, that's exactly what I've been fighting against.  Please,
> make this *syntactic*, not lexical.  That is to say, add a %header
> token to the scanner, but leave the processing to the grammar.

Yeah, sorry.  I modeled that first patch after the existing PROLOGUE.  I 
modeled the second path after %initial-action instead, so I believe you'll 
like it better.  I like it better in that respect too.


reply via email to

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