• R/O
  • SSH
  • HTTPS

naniya: Commit


Commit MetaInfo

Revision249 (tree)
Zeit2010-11-22 17:48:04
Autornotanpe

Log Message

GNU Bison 2.4.2 で生成したものでおきかえ。

Ändern Zusammenfassung

Diff

--- branches/mty-makai/expr_parse.c (revision 248)
+++ branches/mty-makai/expr_parse.c (revision 249)
@@ -1,10 +1,9 @@
1+/* A Bison parser, made by GNU Bison 2.4.2. */
12
2-/* A Bison parser, made by GNU Bison 2.4.1. */
3-
43 /* Skeleton implementation for Bison's Yacc-like parsers in C
54
6- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7- Free Software Foundation, Inc.
5+ Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software
6+ Foundation, Inc.
87
98 This program is free software: you can redistribute it and/or modify
109 it under the terms of the GNU General Public License as published by
@@ -46,7 +45,7 @@
4645 #define YYBISON 1
4746
4847 /* Bison version. */
49-#define YYBISON_VERSION "2.4.1"
48+#define YYBISON_VERSION "2.4.2"
5049
5150 /* Skeleton name. */
5251 #define YYSKELETON_NAME "yacc.c"
@@ -104,7 +103,7 @@
104103
105104
106105 /* Line 189 of yacc.c */
107-#line 108 "expr_parse.c"
106+#line 107 "expr_parse.c"
108107
109108 /* Enabling traces. */
110109 #ifndef YYDEBUG
@@ -148,7 +147,7 @@
148147 typedef union YYSTYPE
149148 {
150149
151-/* Line 222 of yacc.c */
150+/* Line 214 of yacc.c */
152151 #line 43 "expr_parse.y"
153152
154153 int a;
@@ -160,8 +159,8 @@
160159
161160
162161
163-/* Line 222 of yacc.c */
164-#line 165 "expr_parse.c"
162+/* Line 214 of yacc.c */
163+#line 164 "expr_parse.c"
165164 } YYSTYPE;
166165 # define YYSTYPE_IS_TRIVIAL 1
167166 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
@@ -190,7 +189,7 @@
190189
191190
192191 /* Line 264 of yacc.c */
193-#line 194 "expr_parse.c"
192+#line 193 "expr_parse.c"
194193
195194 #ifdef short
196195 # undef short
@@ -240,7 +239,7 @@
240239 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
241240
242241 #ifndef YY_
243-# if YYENABLE_NLS
242+# if defined YYENABLE_NLS && YYENABLE_NLS
244243 # if ENABLE_NLS
245244 # include <libintl.h> /* INFRINGES ON USER NAME SPACE */
246245 # define YY_(msgid) dgettext ("bison-runtime", msgid)
@@ -603,9 +602,18 @@
603602
604603 /* Like YYERROR except do call yyerror. This remains here temporarily
605604 to ease the transition to the new meaning of YYERROR, for GCC.
606- Once GCC version 2 has supplanted version 1, this can go. */
605+ Once GCC version 2 has supplanted version 1, this can go. However,
606+ YYFAIL appears to be in use. Nevertheless, it is formally deprecated
607+ in Bison 2.4.2's NEWS entry, where a plan to phase it out is
608+ discussed. */
607609
608610 #define YYFAIL goto yyerrlab
611+#if defined YYFAIL
612+ /* This is here to suppress warnings from the GCC cpp's
613+ -Wunused-macros. Normally we don't worry about that warning, but
614+ some users do, and we want to make it easy for users to remove
615+ YYFAIL uses, which will produce warnings from Bison 2.5. */
616+#endif
609617
610618 #define YYRECOVERING() (!!yyerrstatus)
611619
@@ -662,7 +670,7 @@
662670 we won't break user code: when these are the locations we know. */
663671
664672 #ifndef YY_LOCATION_PRINT
665-# if YYLTYPE_IS_TRIVIAL
673+# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
666674 # define YY_LOCATION_PRINT(File, Loc) \
667675 fprintf (File, "%d.%d-%d.%d", \
668676 (Loc).first_line, (Loc).first_column, \
@@ -1401,7 +1409,7 @@
14011409 {
14021410 case 4:
14031411
1404-/* Line 1455 of yacc.c */
1412+/* Line 1464 of yacc.c */
14051413 #line 89 "expr_parse.y"
14061414 {
14071415 synth_add(g_node, (yyvsp[(3) - (3)].tree), NULL);
@@ -1410,7 +1418,7 @@
14101418
14111419 case 5:
14121420
1413-/* Line 1455 of yacc.c */
1421+/* Line 1464 of yacc.c */
14141422 #line 93 "expr_parse.y"
14151423 {
14161424 synth_add(g_node, (yyvsp[(1) - (1)].tree), NULL);
@@ -1419,7 +1427,7 @@
14191427
14201428 case 10:
14211429
1422-/* Line 1455 of yacc.c */
1430+/* Line 1464 of yacc.c */
14231431 #line 108 "expr_parse.y"
14241432 {
14251433 int i, j;
@@ -1524,7 +1532,7 @@
15241532
15251533 case 11:
15261534
1527-/* Line 1455 of yacc.c */
1535+/* Line 1464 of yacc.c */
15281536 #line 209 "expr_parse.y"
15291537 { (yyval.a) = 0; ;}
15301538 break;
@@ -1531,7 +1539,7 @@
15311539
15321540 case 12:
15331541
1534-/* Line 1455 of yacc.c */
1542+/* Line 1464 of yacc.c */
15351543 #line 210 "expr_parse.y"
15361544 { (yyval.a) = 1; ;}
15371545 break;
@@ -1538,7 +1546,7 @@
15381546
15391547 case 13:
15401548
1541-/* Line 1455 of yacc.c */
1549+/* Line 1464 of yacc.c */
15421550 #line 213 "expr_parse.y"
15431551 { (yyval.a) = 0; ;}
15441552 break;
@@ -1545,7 +1553,7 @@
15451553
15461554 case 14:
15471555
1548-/* Line 1455 of yacc.c */
1556+/* Line 1464 of yacc.c */
15491557 #line 214 "expr_parse.y"
15501558 { (yyval.a) = 1; ;}
15511559 break;
@@ -1552,7 +1560,7 @@
15521560
15531561 case 15:
15541562
1555-/* Line 1455 of yacc.c */
1563+/* Line 1464 of yacc.c */
15561564 #line 218 "expr_parse.y"
15571565 {
15581566 if ((yyvsp[(1) - (2)].elems) == NULL || (yyvsp[(2) - (2)].elems) == NULL)
@@ -1586,7 +1594,7 @@
15861594
15871595 case 17:
15881596
1589-/* Line 1455 of yacc.c */
1597+/* Line 1464 of yacc.c */
15901598 #line 250 "expr_parse.y"
15911599 {
15921600 int i;
@@ -1605,7 +1613,7 @@
16051613
16061614 case 18:
16071615
1608-/* Line 1455 of yacc.c */
1616+/* Line 1464 of yacc.c */
16091617 #line 264 "expr_parse.y"
16101618 {
16111619 (yyval.elems) = calloc(1, sizeof(struct ELEMS_ARY));
@@ -1617,7 +1625,7 @@
16171625
16181626 case 19:
16191627
1620-/* Line 1455 of yacc.c */
1628+/* Line 1464 of yacc.c */
16211629 #line 271 "expr_parse.y"
16221630 {
16231631 (yyval.elems) = calloc(1, sizeof(struct ELEMS_ARY));
@@ -1629,7 +1637,7 @@
16291637
16301638 case 20:
16311639
1632-/* Line 1455 of yacc.c */
1640+/* Line 1464 of yacc.c */
16331641 #line 278 "expr_parse.y"
16341642 {
16351643 (yyval.elems) = calloc(1, sizeof(struct ELEMS_ARY));
@@ -1642,7 +1650,7 @@
16421650
16431651 case 21:
16441652
1645-/* Line 1455 of yacc.c */
1653+/* Line 1464 of yacc.c */
16461654 #line 286 "expr_parse.y"
16471655 { (yyval.elems) = NULL; ;}
16481656 break;
@@ -1649,7 +1657,7 @@
16491657
16501658 case 22:
16511659
1652-/* Line 1455 of yacc.c */
1660+/* Line 1464 of yacc.c */
16531661 #line 289 "expr_parse.y"
16541662 { (yyval.bmp) = (yyvsp[(1) - (2)].bmp) | (yyvsp[(2) - (2)].bmp); ;}
16551663 break;
@@ -1656,7 +1664,7 @@
16561664
16571665 case 23:
16581666
1659-/* Line 1455 of yacc.c */
1667+/* Line 1464 of yacc.c */
16601668 #line 290 "expr_parse.y"
16611669 { (yyval.bmp) = (yyvsp[(1) - (1)].bmp); ;}
16621670 break;
@@ -1663,7 +1671,7 @@
16631671
16641672 case 24:
16651673
1666-/* Line 1455 of yacc.c */
1674+/* Line 1464 of yacc.c */
16671675 #line 294 "expr_parse.y"
16681676 {
16691677 unsigned len1 = (yyvsp[(1) - (2)].dict).len;
@@ -1691,8 +1699,8 @@
16911699
16921700
16931701
1694-/* Line 1455 of yacc.c */
1695-#line 1696 "expr_parse.c"
1702+/* Line 1464 of yacc.c */
1703+#line 1704 "expr_parse.c"
16961704 default: break;
16971705 }
16981706 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -1903,7 +1911,7 @@
19031911
19041912
19051913
1906-/* Line 1675 of yacc.c */
1914+/* Line 1684 of yacc.c */
19071915 #line 324 "expr_parse.y"
19081916
19091917
Show on old repository browser