bison-patches
[Top][All Lists]
Advanced

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

Re: C++ comparison operators for location


From: Akim Demaille
Subject: Re: C++ comparison operators for location
Date: Wed, 21 Jun 2006 13:49:24 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Joel" == Joel E Denny <address@hidden> writes:

 > On Wed, 21 Jun 2006, Akim Demaille wrote:
 >> Good to me.  It would be nice to be able to always define
 >> these operators.  Maybe you should rather have a
 >> b4_define_position_comparison, and by default enable it
 >> when strings are used?

 > I agree that something more general might be nice, but I'm not sure if I'm 
 > reading your proposal correctly.  Do you mean that, if the user knows 
 > operator== is defined for his specified filename_type, he could tell Bison 
 > that with some sort of declaration?

Yes.  For a start, as a simple Boolean (%define
"define_position_comparison"), until we find something smarter.





reply via email to

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