[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enum for token '0', EOF
From: |
Joel E. Denny |
Subject: |
Re: Enum for token '0', EOF |
Date: |
Sat, 8 Jul 2006 11:08:49 -0400 (EDT) |
On Sat, 8 Jul 2006, Frans Englich wrote:
> No, I don't have a need to put END in my grammar nor give it a semantic
> value,
I can't think of a need either. The results look buggy with the current
implementation, so maybe Bison should report an error for this usage.
> but I need to signal it in my hand written tokenizer(and it is messy to cast
> 0 to the yytokentype enum).
I'm guessing this feature was originally intended for no more than just
that (and giving the end token a user-friendly string alias).
Thanks.
Joel
- Re: Enum for token '0', EOF, Frans Englich, 2006/07/08
- Re: Enum for token '0', EOF,
Joel E. Denny <=
- Re: Enum for token '0', EOF, Akim Demaille, 2006/07/09
- Re: Enum for token '0', EOF, Joel E. Denny, 2006/07/09
- Re: Enum for token '0', EOF, Akim Demaille, 2006/07/09
- Re: Enum for token '0', EOF, Joel E. Denny, 2006/07/09
- Re: Enum for token '0', EOF, Joel E. Denny, 2006/07/12
- Re: Enum for token '0', EOF, Joel E. Denny, 2006/07/25
- Re: Enum for token '0', EOF, Joel E. Denny, 2006/07/29