[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch for [] quoting problem in bison.simple
From: |
Paul Eggert |
Subject: |
patch for [] quoting problem in bison.simple |
Date: |
Fri, 26 Apr 2002 18:24:02 -0700 (PDT) |
While fixing the YYSTYPE_IS_TRIVIAL problem I noticed an m4 quoting
bug, and installed the following patch.
2002-04-26 Paul Eggert <address@hidden>
* data/bison.simple (YYCOPY):
Fix [] quoting problem in the non-GCC case.
Index: bison.simple
===================================================================
RCS file: /cvsroot/bison/bison/data/bison.simple,v
retrieving revision 1.15
retrieving revision 1.16
diff -p -u -r1.15 -r1.16
--- bison.simple 27 Apr 2002 01:10:59 -0000 1.15
+++ bison.simple 27 Apr 2002 01:20:51 -0000 1.16
@@ -236,7 +236,7 @@ union yyalloc
{ \
register YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
- (To)[yyi] = (From)[yyi]; \
+ (To)[[yyi]] = (From)[[yyi]]; \
} \
while (0)
# endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch for [] quoting problem in bison.simple,
Paul Eggert <=