From: Pascal Bart Date: Fri, 7 Sep 2001 16:50:01 +0000 (+0000) Subject: * src/output.c (output): Delete call to reader_output_yylsp. X-Git-Tag: pre-merge-of-1-29-branch~18 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b0c4483ed286e4619d5889bb7ff474434292c66a?hp=714720fcfeefcf360d698710b7ae566115f1b090 * src/output.c (output): Delete call to reader_output_yylsp. * src/reader.c (reader): Likewise. * src/reader.h: Delete declaration of reader_output_yylsp. --- diff --git a/ChangeLog b/ChangeLog index 416fbc02..f9c76907 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-09-07 Pascal Bart + + * src/output.c (output): Delete call to reader_output_yylsp. + * src/reader.c (reader): Likewise. + * src/reader.h: Delete declaration of reader_output_yylsp. + 2001-09-02 Marc Autret * src/reader.c: Include muscle_tab.h. diff --git a/src/output.c b/src/output.c index b07988a7..af03317d 100644 --- a/src/output.c +++ b/src/output.c @@ -1087,9 +1087,6 @@ output (void) { obstack_init (&output_obstack); -#if 0 - reader_output_yylsp (&table_obstack); */ -#endif free_itemsets (); output_token_translations (); diff --git a/src/reader.c b/src/reader.c index 3f3a3a34..83c6b3a6 100644 --- a/src/reader.c +++ b/src/reader.c @@ -2031,12 +2031,11 @@ reader (void) readgram (); /* Some C code is given at the end of the grammar file. */ read_additionnal_code (); + /* Now we know whether we need the line-number stack. If we do, - write its type into the .tab.h file. */ -#if 0 - if (defines_flag) - reader_output_yylsp (&defines_obstack); -#endif + write its type into the .tab.h file. + This is no longer need with header skeleton. */ + /* Assign the symbols their symbol numbers. Write #defines for the token symbols into FDEFINES if requested. */ packsymbols (); diff --git a/src/reader.h b/src/reader.h index 4a721ba7..4030e478 100644 --- a/src/reader.h +++ b/src/reader.h @@ -30,8 +30,6 @@ extern void reader PARAMS ((void)); -extern void reader_output_yylsp PARAMS ((struct obstack *)); - extern int lineno; extern char **tags; extern short *user_toknums;