bison-patches
[Top][All Lists]
Advanced

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

Re: [SPAM] Re: proposal: simplify prologue alternatives into %code


From: Joel E. Denny
Subject: Re: [SPAM] Re: proposal: simplify prologue alternatives into %code
Date: Sun, 7 Jan 2007 16:45:49 -0500 (EST)

On Sun, 7 Jan 2007, Paul Eggert wrote:

> "Joel E. Denny" <address@hidden> writes:
> 
> > I think we shouldn't use STRING for those names in parse-gram.y.  
> > Instead, we should define a limited regular expression that plays nicely 
> > with M4.
> 
> Sure.  How about using the Bison rule for identifiers?

I believe that has the same lexical structure as M4 names except that it 
also allows `.', which shouldn't hurt anything.  Thanks.

> > 4. I wish %define put all its names in a separate namespace.  For example:
> >
> >   %define "my_name" "value"
> >
> > would create a b4_percent_define_my_name muscle instead of b4_my_name.  I 
> > do something similar for %code qualifiers.  This keeps these muscles out 
> > of the way of all of Bison's internal muscles.  Any objections?
> 
> None here.

Thanks.




reply via email to

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