mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 13:53:03 +00:00
* src/bison.simple: Do not provide a default for YYSTYPE and
YYLTYPE before the user's prologue. Otherwise it's hardly... a default.
This commit is contained in:
@@ -63,6 +63,9 @@
|
||||
#define yydebug %%prefix##debug
|
||||
#define yynerrs %%prefix##nerrs
|
||||
|
||||
/* Copy the user declarations. */
|
||||
%%prologue
|
||||
|
||||
#ifndef YYSTYPE
|
||||
typedef %%stype yystype;
|
||||
# define YYSTYPE yystype
|
||||
@@ -79,9 +82,6 @@ typedef struct yyltype
|
||||
# define YYLTYPE %%ltype
|
||||
#endif
|
||||
|
||||
/* Copy the user declarations. */
|
||||
%%prologue
|
||||
|
||||
/* Line %%skeleton-line of %%skeleton. */
|
||||
#line %%line "%%parser-file-name"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user