What does bison do with undefined tokens?
James Browning
jamesb192 at jamesb192.com
Tue Aug 22 08:01:15 UTC 2023
> On 08/22/2023 12:09 AM PDT Hal Murray via devel <devel at ntpsec.org> wrote:
>
>
> ntpd/ntp_parser.y has this line:
>
> %token <Integer> T_Timingstats
>
> T_Timingstats is never defined. All the other similar tokens are defined in
> ntpd/keyword-gen.c
I think that is a stub definition. It gets written into the
resulting c and h files with a number. Additionally line 658
seems to ensure it get added as a stub option for 'stats'.
Properly the lines should probably be filled out or removed.
More information about the devel
mailing list