X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ff48177d2514d8ba381852e4d1f50b98ef3cd763..6c686258e3fa074584b9f205c694d4bf88e1cb1e:/src/reader.c?ds=sidebyside diff --git a/src/reader.c b/src/reader.c index 8fa3dfe8..e46d5fab 100644 --- a/src/reader.c +++ b/src/reader.c @@ -941,6 +941,17 @@ parse_macro_decl (void) macro_insert (macro_key, macro_value); } + +/*----------------------------------. +| Parse what comes after %skeleton. | +`----------------------------------*/ + +void +parse_skel_decl (void) +{ + /* Complete with parse_dquoted_param () on the CVS branch 1.29. */ +} + /*------------------------------------------. | Parse what comes after %header_extension. | `------------------------------------------*/ @@ -1051,6 +1062,10 @@ read_declarations (void) case tok_define: parse_macro_decl (); break; + + case tok_skel: + parse_skel_decl (); + break; case tok_noop: break; @@ -2028,10 +2043,6 @@ reader (void) TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left, etc. found there. */ read_declarations (); - /* Start writing the guard and action files, if they are needed. */ -#if 0 - output_headers (); -#endif /* Read in the grammar, build grammar in list form. Write out guards and actions. */ readgram (); @@ -2045,7 +2056,6 @@ reader (void) #endif /* Write closing delimiters for actions and guards. */ #if 0 - output_trailers (); if (locations_flag) obstack_sgrow (&table_obstack, "#define YYLSP_NEEDED 1\n\n"); #endif