mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
* src/output.c (output_rule_data): Don't output NULL, it might
not be defined yet.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user