X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/bd16a5dcf5b24e83c88f3dad9b5bbbd2290a3795..4bda3f10cade960947bfd075a6a9d91e4ef448e6:/src/output.c diff --git a/src/output.c b/src/output.c index 702f0cb1..5f5341f7 100644 --- a/src/output.c +++ b/src/output.c @@ -275,8 +275,9 @@ output_rule_data (void) obstack_sgrow (&format_obstack, ", "); j += strsize; } - /* add a NULL entry to list of tokens */ - obstack_sgrow (&format_obstack, "NULL"); + /* Add a NULL entry to list of tokens (well, 0, as NULL might not be + defined). */ + obstack_sgrow (&format_obstack, "0"); /* Finish table and store. */ obstack_1grow (&format_obstack, 0);