* src/output.c (output_rule_data): Don't output NULL, it might

not be defined yet.
This commit is contained in:
Akim Demaille
2002-02-13 18:35:03 +00:00
parent bd16a5dcf5
commit 4bda3f10ca
3 changed files with 9 additions and 2 deletions

View File

@@ -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);