From: Akim Demaille Date: Sat, 29 Dec 2001 14:25:08 +0000 (+0000) Subject: * src/bison.simple: Do not provide a default for YYSTYPE and X-Git-Tag: before-m4-back-end~53 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/cce7171088417e4fd9b38224a8ab12b0769e4fb2 * src/bison.simple: Do not provide a default for YYSTYPE and YYLTYPE before the user's prologue. Otherwise it's hardly... a default. --- diff --git a/ChangeLog b/ChangeLog index 8c45edea..ebf6b024 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-12-29 Akim Demaille + + * src/bison.simple: Do not provide a default for YYSTYPE and + YYLTYPE before the user's prologue. Otherwise it's hardly... a + default. + + 2001-12-29 Akim Demaille Mid-rule actions are simply... ignored! diff --git a/src/bison.simple b/src/bison.simple index df1ced7c..033d7268 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -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"