mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/bison.simple: s/%%filename/%%skeleton.
* src/muscle_tab.c (getargs.h): Include it. (muscle_init): Insert new muscle skeleton.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2001-09-19 Pascal Bart <pascal.bart@epita.fr>
|
||||
|
||||
* src/bison.simple: s/%%filename/%%skeleton.
|
||||
* src/muscle_tab.c (getargs.h): Include it.
|
||||
(muscle_init): Insert new muscle skeleton.
|
||||
|
||||
2001-09-18 Pascal Bart <pascal.bart@epita.fr>
|
||||
|
||||
* src/output.c (output_parser): Delete unused variable actions_dumped.
|
||||
|
||||
@@ -366,7 +366,7 @@ __yy_memcpy (char *to, const char *from, unsigned int count)
|
||||
|
||||
|
||||
|
||||
#line %%line "%%filename"
|
||||
#line %%line "%%skeleton"
|
||||
|
||||
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
||||
into yyparse. The argument should have type void *.
|
||||
@@ -760,7 +760,7 @@ yyreduce:
|
||||
{
|
||||
%%action /* The action file replaces this line. */
|
||||
}
|
||||
#line %%line "%%filename"
|
||||
#line %%line "%%skeleton"
|
||||
|
||||
yyvsp -= yylen;
|
||||
yyssp -= yylen;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "hash.h"
|
||||
#include "files.h"
|
||||
#include "muscle_tab.h"
|
||||
#include "getargs.h"
|
||||
|
||||
struct hash_table muscle_table;
|
||||
|
||||
@@ -55,6 +56,9 @@ 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");
|
||||
|
||||
Reference in New Issue
Block a user