Re: Why token are numbered from 258?
Peng Yu <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <CABrM6wnLzp=ihzsKgKrfU56EGpQgtGQmq2g4ddGH1MvhX+_PdA@mail.gmail.com> |
> It's been a while, but as far as I can remember those extra 2 are always > automatically used for the special built-in terminals YYEOF and YYEMPTY. No. They are not. y.tab.c 1249:#define YYEMPTY (-2) y.tab.c 1250:#define YYEOF 0 -- Regards, Peng _______________________________________________ [email protected] https://lists.gnu.org/mailman/listinfo/help-bison