[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect yychar for unambiguous GLR
From: |
Joel E. Denny |
Subject: |
Re: incorrect yychar for unambiguous GLR |
Date: |
Mon, 30 Jan 2006 15:11:03 -0500 (EST) |
On Mon, 30 Jan 2006, Paul Eggert wrote:
> "Joel E. Denny" <address@hidden> writes:
>
> > I just noticed that this changes yyrawchar from int to short. I'm not
> > smart enough to know if this matters.
>
> yyrawchar is what yylex returned, right? If so, it must be int, since
> users can specify token numbers greater than 2**16.
OK, so we shouldn't commit this optimization of yySemanticOption.
So, token numbers might be greater than 2^16 (int yyrawchar), but the
number of tokens cannot be greater than 2^16 (short yytoken).
I think I finally get it.
Joel
- Re: incorrect yychar for unambiguous GLR, (continued)
- Re: incorrect yychar for unambiguous GLR, Paul Hilfinger, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/30
- Re: incorrect yychar for unambiguous GLR, Paul Eggert, 2006/01/30
- Re: incorrect yychar for unambiguous GLR,
Joel E. Denny <=
- Re: incorrect yychar for unambiguous GLR, Paul Eggert, 2006/01/31