bug-bison
[Top][All Lists]
Advanced

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

Re: Conflicts with header guards


From: Paul Eggert
Subject: Re: Conflicts with header guards
Date: Fri, 21 Sep 2012 09:22:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0

On 09/21/2012 02:42 AM, Akim Demaille wrote:
> we should at least always start
> with YY_ to stay within our realm:
> 
>    foo/bar.hh    -> YY_YY_FOO_BAR_HH
>    0foo--bar12.h -> YY_YY_0FOO_BAR12_H
> 
> (two YY_: one for Bison, the other for the prefix)

That should work, but can't we shorten the second prefix
to something simpler, like "_"?  That way, the symbols
would be YY__FOO_BAR_HH, which is a bit more palatable.



reply via email to

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