mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 19:23:02 +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>
|
2001-09-18 Pascal Bart <pascal.bart@epita.fr>
|
||||||
|
|
||||||
* src/output.c (output_parser): Delete unused variable actions_dumped.
|
* 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
|
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
|
||||||
into yyparse. The argument should have type void *.
|
into yyparse. The argument should have type void *.
|
||||||
@@ -760,7 +760,7 @@ yyreduce:
|
|||||||
{
|
{
|
||||||
%%action /* The action file replaces this line. */
|
%%action /* The action file replaces this line. */
|
||||||
}
|
}
|
||||||
#line %%line "%%filename"
|
#line %%line "%%skeleton"
|
||||||
|
|
||||||
yyvsp -= yylen;
|
yyvsp -= yylen;
|
||||||
yyssp -= yylen;
|
yyssp -= yylen;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "files.h"
|
#include "files.h"
|
||||||
#include "muscle_tab.h"
|
#include "muscle_tab.h"
|
||||||
|
#include "getargs.h"
|
||||||
|
|
||||||
struct hash_table muscle_table;
|
struct hash_table muscle_table;
|
||||||
|
|
||||||
@@ -55,6 +56,9 @@ muscle_init (void)
|
|||||||
muscle_insert ("version", VERSION);
|
muscle_insert ("version", VERSION);
|
||||||
muscle_insert ("filename", infile);
|
muscle_insert ("filename", infile);
|
||||||
|
|
||||||
|
/* Skeleton use. */
|
||||||
|
muscle_insert ("skeleton", skeleton);
|
||||||
|
|
||||||
/* Types. */
|
/* Types. */
|
||||||
muscle_insert ("stype", "int");
|
muscle_insert ("stype", "int");
|
||||||
muscle_insert ("ltype", "yyltype");
|
muscle_insert ("ltype", "yyltype");
|
||||||
|
|||||||
Reference in New Issue
Block a user