]> git.saurik.com Git - bison.git/commitdiff
(YYCOPY): Fix [] quoting problem in the non-GCC case.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Apr 2002 01:20:51 +0000 (01:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Apr 2002 01:20:51 +0000 (01:20 +0000)
data/bison.simple

index fd16dd2aefe8aa9bd11185c6b0b283fa97ae94c3..803d1a4839afdd6f9268c19e447f7d3a0e565d13 100644 (file)
@@ -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