help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why token are numbered from 258?


From: Peng Yu
Subject: Re: Why token are numbered from 258?
Date: Thu, 7 Feb 2019 13:39:42 -0600

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]