[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ comparison operators for location
From: |
Joel E. Denny |
Subject: |
Re: C++ comparison operators for location |
Date: |
Wed, 21 Jun 2006 03:32:54 -0400 (EDT) |
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?
Joel