X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/68f1e3edc304e03b249b64791e4b7d981938bef4..3735969c7de7c12abfbe0a78e108399196e271e0:/src/reader.c diff --git a/src/reader.c b/src/reader.c index 0cce616d..cb013b20 100644 --- a/src/reader.c +++ b/src/reader.c @@ -966,7 +966,7 @@ parse_muscle_decl (void) /*---------------------------------. -| Parse a double quoted parameter. | +| Parse a double quoted parameter. | `---------------------------------*/ static const char * @@ -994,7 +994,7 @@ parse_dquoted_param (const char *from) else break; } - + obstack_1grow (¶m_obstack, '\0'); param = obstack_finish (¶m_obstack); @@ -1014,7 +1014,7 @@ parse_dquoted_param (const char *from) | Parse what comes after %skeleton. | `----------------------------------*/ -void +static void parse_skel_decl (void) { skeleton = parse_dquoted_param ("%skeleton"); @@ -1133,7 +1133,6 @@ copy_action (symbol_list *rule, int stack_offset) { int c; int count; - char buf[4096]; /* offset is always 0 if parser has already popped the stack pointer */ if (semantic_parser) @@ -2005,6 +2004,9 @@ packgram (void) } ritem[itemno] = 0; + + if (trace_flag) + ritem_print (stderr); } /*-------------------------------------------------------------------. @@ -2071,7 +2073,6 @@ reader (void) /* Assign the symbols their symbol numbers. Write #defines for the token symbols into FDEFINES if requested. */ packsymbols (); - symbols_output (); /* Convert the grammar into the format described in gram.h. */ packgram (); /* Output the headers. */