bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

24-fyi-default-after.patch


From: Akim Demaille
Subject: 24-fyi-default-after.patch
Date: Sat, 29 Dec 2001 15:15:13 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * src/bison.simple: Do not provide a default for YYSTYPE and
        YYLTYPE before the user's prologue.  Otherwise it's hardly... a
        default.
        
        
Index: src/bison.simple
--- src/bison.simple Fri, 28 Dec 2001 12:06:07 +0100 akim
+++ src/bison.simple Fri, 28 Dec 2001 17:49:41 +0100 akim
@@ -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
@@ -78,9 +81,6 @@
 } yyltype;
 # define YYLTYPE %%ltype
 #endif
-
-/* Copy the user declarations.  */
-%%prologue
 
 /* Line %%skeleton-line of %%skeleton.  */
 #line %%line "%%parser-file-name"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]