mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Output token definitions before the first part of user declarations.
This commit is contained in:
@@ -136,10 +136,10 @@ b4_copyright([Skeleton parser for GLR parsing with Bison], [2002])
|
|||||||
#define yynerrs b4_prefix[]nerrs
|
#define yynerrs b4_prefix[]nerrs
|
||||||
b4_location_if([#define yylloc b4_prefix[]lloc])])
|
b4_location_if([#define yylloc b4_prefix[]lloc])])
|
||||||
|
|
||||||
/* Copy the first part of user declarations. */
|
b4_token_defines(b4_tokens)
|
||||||
b4_pre_prologue
|
|
||||||
|
|
||||||
b4_token_defines(b4_tokens)[
|
/* Copy the first part of user declarations. */
|
||||||
|
b4_pre_prologue[
|
||||||
|
|
||||||
/* Enabling traces. */
|
/* Enabling traces. */
|
||||||
#ifndef YYDEBUG
|
#ifndef YYDEBUG
|
||||||
|
|||||||
@@ -104,15 +104,14 @@ b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
|
|||||||
/* Using locations. */
|
/* Using locations. */
|
||||||
#define YYLSP_NEEDED b4_locations_flag
|
#define YYLSP_NEEDED b4_locations_flag
|
||||||
|
|
||||||
|
b4_token_defines(b4_tokens)
|
||||||
|
|
||||||
/* Copy the first part of user declarations. */
|
/* Copy the first part of user declarations. */
|
||||||
b4_pre_prologue
|
b4_pre_prologue
|
||||||
|
|
||||||
/* Line __line__ of __file__. */
|
/* Line __line__ of __file__. */
|
||||||
#line __oline__ "__ofile__"
|
#line __oline__ "__ofile__"
|
||||||
|
|
||||||
/* Tokens. */
|
|
||||||
b4_token_defines(b4_tokens)
|
|
||||||
|
|
||||||
/* Enabling traces. */
|
/* Enabling traces. */
|
||||||
#ifndef YYDEBUG
|
#ifndef YYDEBUG
|
||||||
# define YYDEBUG b4_debug
|
# define YYDEBUG b4_debug
|
||||||
|
|||||||
@@ -166,11 +166,11 @@ m4_if(b4_prefix[], [yy], [],
|
|||||||
#define yynerrs b4_prefix[]nerrs
|
#define yynerrs b4_prefix[]nerrs
|
||||||
b4_location_if([#define yylloc b4_prefix[]lloc])])
|
b4_location_if([#define yylloc b4_prefix[]lloc])])
|
||||||
|
|
||||||
|
b4_token_defines(b4_tokens)
|
||||||
|
|
||||||
/* Copy the first part of user declarations. */
|
/* Copy the first part of user declarations. */
|
||||||
b4_pre_prologue
|
b4_pre_prologue
|
||||||
|
|
||||||
b4_token_defines(b4_tokens)
|
|
||||||
|
|
||||||
/* Enabling traces. */
|
/* Enabling traces. */
|
||||||
#ifndef YYDEBUG
|
#ifndef YYDEBUG
|
||||||
# define YYDEBUG b4_debug
|
# define YYDEBUG b4_debug
|
||||||
|
|||||||
Reference in New Issue
Block a user