From c1ecb3c1f5d5df75fefc0c6715f623930795fc56 Mon Sep 17 00:00:00 2001 From: Marc Autret Date: Thu, 22 Nov 2001 21:45:14 +0000 Subject: [PATCH] * src/muscle_tab.c (muscle_init): Remove initialization of skeleton muscle. * src/output.c (output_master_parser): Do it here. --- ChangeLog | 6 ++++++ src/muscle_tab.c | 3 --- src/output.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7af123e8..56fe9703 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-22 Marc Autret + + * src/muscle_tab.c (muscle_init): Remove initialization of + skeleton muscle. + * src/output.c (output_master_parser): Do it here. + 2001-11-20 Akim Demaille * po/sv.po: New. diff --git a/src/muscle_tab.c b/src/muscle_tab.c index eeda6112..7dffbbd5 100644 --- a/src/muscle_tab.c +++ b/src/muscle_tab.c @@ -56,9 +56,6 @@ muscle_init (void) muscle_insert ("version", VERSION); muscle_insert ("filename", infile); - /* Skeleton use. */ - muscle_insert ("skeleton", skeleton); - /* Types. */ muscle_insert ("stype", "int"); muscle_insert ("ltype", "yyltype"); diff --git a/src/output.c b/src/output.c index 43172154..a24441cb 100644 --- a/src/output.c +++ b/src/output.c @@ -985,7 +985,6 @@ output_parser (const char *skel_filename, struct obstack *oout) obstack_fgrow1 (oout, "%d", line + 1); else if (!strcmp (muscle_key, "input_line")) obstack_fgrow1 (oout, "%d", lineno); - /* FIXME: Insert the code to recognize %%sub-skeleton for exemple. */ else { obstack_sgrow (oout, "%%"); @@ -1014,6 +1013,7 @@ output_master_parser (void) else skeleton = skeleton_find ("BISON_SIMPLE", BISON_SIMPLE); } + muscle_insert ("skeleton", skeleton); output_parser (skeleton, &table_obstack); } -- 2.45.2