* 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:34:59 +00:00
parent 1bb14a172a
commit e334b4a99b
4 changed files with 9 additions and 3 deletions

View File

@@ -452,7 +452,7 @@ output_rule_data (void)
j += strsize;
}
/* add a NULL entry to list of tokens */
obstack_sgrow (&table_obstack, "NULL\n};\n");
obstack_sgrow (&table_obstack, "0\n};\n");
if (!token_table_flag && !no_parser_flag)
obstack_sgrow (&table_obstack, "#endif\n\n");