On Mon, 30 Jan 2006, Paul Eggert wrote: > "Joel E. Denny" <[EMAIL PROTECTED]> 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 _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison