* 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

@@ -1,3 +1,8 @@
2002-02-13 Andreas Schwab <schwab@suse.de>
* src/output.c (output_rule_data): Don't output NULL, it might
not be defined yet.
2002-02-13 Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
* doc/bison.texinfo: Add DJGPP specific information about

1
THANKS
View File

@@ -5,6 +5,7 @@ Airy Andre Airy.Andre@edf.fr
Akim Demaille akim@freefriends.org
Albert Chin-A-Young china@thewrittenword.com
Alexander Belopolsky alexb@rentec.com
Andreas Schwab schwab@suse.de
Arnold Robbins arnold@skeeve.com
Cris van Pelt cris@amf03054.office.wxs.nl
Daniel Hagerty hag@gnu.org

View File

@@ -1,4 +1,4 @@
@set UPDATED 5 January 2002
@set UPDATED-MONTH January 2002
@set UPDATED 13 February 2002
@set UPDATED-MONTH February 2002
@set EDITION 1.33a
@set VERSION 1.33a

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