summaryrefslogtreecommitdiff
path: root/perly.tab
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-03-05 12:40:19 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2023-03-06 10:41:20 +0000
commit75ea41ae51200ab26d84c418f08859a784a71b85 (patch)
tree498308616b1680531c1c5020a3492160a368d626 /perly.tab
parenta287df13cf577b9af034665350e89ba94eb55d77 (diff)
downloadperl-75ea41ae51200ab26d84c418f08859a784a71b85.tar.gz
Have newATTRSUB() call class_wrap_method_body() if CVf_IsMETHOD
Diffstat (limited to 'perly.tab')
-rw-r--r--perly.tab85
1 files changed, 42 insertions, 43 deletions
diff --git a/perly.tab b/perly.tab
index 0a3acb36e5..e55dc7b9f6 100644
--- a/perly.tab
+++ b/perly.tab
@@ -20,11 +20,10 @@
#define YYUNDEFTOK 2
#define YYMAXUTOK 385
-
/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
as returned by yylex, with out-of-bounds checking. */
#define YYTRANSLATE(YYX) \
- (0 <= (YYX) && (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
+ ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
as returned by yylex. */
@@ -73,42 +72,42 @@ static const yytype_uint8 yytranslate[] =
#if YYDEBUG
/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
-static const yytype_int16 yyrline[] =
+static const yytype_uint16 yyrline[] =
{
0, 161, 161, 160, 172, 171, 182, 181, 195, 194,
208, 207, 221, 220, 231, 230, 244, 246, 251, 259,
263, 270, 275, 282, 288, 292, 294, 291, 301, 302,
312, 313, 322, 326, 330, 337, 347, 349, 362, 359,
- 383, 378, 409, 408, 435, 446, 458, 457, 468, 474,
- 480, 485, 487, 489, 496, 504, 506, 503, 523, 528,
- 537, 544, 543, 558, 566, 573, 572, 587, 594, 593,
- 609, 608, 628, 632, 636, 640, 646, 654, 672, 673,
- 677, 681, 683, 685, 687, 689, 691, 693, 696, 702,
- 703, 708, 719, 720, 725, 727, 732, 739, 740, 744,
- 748, 752, 757, 761, 765, 766, 769, 775, 780, 786,
- 787, 792, 793, 798, 799, 806, 811, 813, 824, 826,
- 831, 833, 837, 857, 858, 860, 873, 933, 935, 941,
- 943, 947, 953, 954, 959, 960, 964, 968, 968, 1035,
- 1036, 1041, 1053, 1054, 1058, 1069, 1071, 1073, 1075, 1077,
- 1081, 1083, 1088, 1092, 1096, 1100, 1106, 1111, 1117, 1123,
- 1125, 1127, 1130, 1129, 1140, 1141, 1145, 1149, 1152, 1157,
- 1162, 1165, 1169, 1173, 1179, 1187, 1194, 1200, 1202, 1204,
- 1209, 1211, 1213, 1215, 1217, 1219, 1224, 1226, 1228, 1230,
- 1232, 1234, 1236, 1238, 1240, 1242, 1244, 1246, 1248, 1250,
- 1252, 1254, 1258, 1260, 1262, 1264, 1266, 1270, 1272, 1276,
- 1278, 1280, 1282, 1286, 1288, 1293, 1295, 1298, 1300, 1302,
- 1305, 1308, 1319, 1322, 1330, 1332, 1334, 1337, 1341, 1340,
- 1356, 1358, 1362, 1363, 1364, 1365, 1366, 1368, 1370, 1372,
- 1374, 1376, 1378, 1380, 1382, 1384, 1386, 1388, 1390, 1392,
- 1402, 1412, 1422, 1432, 1434, 1436, 1439, 1444, 1448, 1450,
- 1452, 1454, 1457, 1459, 1462, 1464, 1466, 1468, 1470, 1472,
- 1474, 1476, 1478, 1481, 1483, 1485, 1487, 1489, 1491, 1495,
- 1498, 1497, 1510, 1511, 1512, 1517, 1519, 1521, 1523, 1528,
- 1530, 1533, 1535, 1537, 1542, 1547, 1552, 1560, 1562, 1564,
- 1568, 1576, 1575, 1593, 1594, 1598, 1599, 1603, 1604, 1609,
- 1614, 1616, 1620, 1623, 1627, 1628, 1629, 1632, 1633, 1636,
- 1637, 1640, 1644, 1648, 1654, 1660, 1662, 1666, 1670, 1671,
- 1675, 1676, 1680, 1681, 1686, 1688, 1690, 1693
+ 383, 378, 406, 405, 431, 442, 454, 453, 464, 470,
+ 476, 481, 483, 485, 492, 500, 502, 499, 519, 524,
+ 533, 540, 539, 554, 562, 569, 568, 583, 590, 589,
+ 605, 604, 624, 628, 632, 636, 642, 650, 668, 669,
+ 673, 677, 679, 681, 683, 685, 687, 689, 692, 698,
+ 699, 704, 715, 716, 721, 723, 728, 735, 736, 740,
+ 744, 748, 753, 757, 761, 762, 765, 771, 776, 782,
+ 783, 788, 789, 794, 795, 802, 807, 809, 820, 822,
+ 827, 829, 833, 853, 854, 856, 869, 929, 931, 937,
+ 939, 943, 949, 950, 955, 956, 960, 964, 964, 1031,
+ 1032, 1037, 1049, 1050, 1054, 1065, 1067, 1069, 1071, 1073,
+ 1077, 1079, 1084, 1088, 1092, 1096, 1102, 1107, 1113, 1119,
+ 1121, 1123, 1126, 1125, 1136, 1137, 1141, 1145, 1148, 1153,
+ 1158, 1161, 1165, 1169, 1175, 1183, 1190, 1196, 1198, 1200,
+ 1205, 1207, 1209, 1211, 1213, 1215, 1220, 1222, 1224, 1226,
+ 1228, 1230, 1232, 1234, 1236, 1238, 1240, 1242, 1244, 1246,
+ 1248, 1250, 1254, 1256, 1258, 1260, 1262, 1266, 1268, 1272,
+ 1274, 1276, 1278, 1282, 1284, 1289, 1291, 1294, 1296, 1298,
+ 1301, 1304, 1315, 1318, 1326, 1328, 1330, 1333, 1337, 1336,
+ 1351, 1353, 1357, 1358, 1359, 1360, 1361, 1363, 1365, 1367,
+ 1369, 1371, 1373, 1375, 1377, 1379, 1381, 1383, 1385, 1387,
+ 1397, 1407, 1417, 1427, 1429, 1431, 1434, 1439, 1443, 1445,
+ 1447, 1449, 1452, 1454, 1457, 1459, 1461, 1463, 1465, 1467,
+ 1469, 1471, 1473, 1476, 1478, 1480, 1482, 1484, 1486, 1490,
+ 1493, 1492, 1505, 1506, 1507, 1512, 1514, 1516, 1518, 1523,
+ 1525, 1528, 1530, 1532, 1537, 1542, 1547, 1555, 1557, 1559,
+ 1563, 1571, 1570, 1588, 1589, 1593, 1594, 1598, 1599, 1604,
+ 1609, 1611, 1615, 1618, 1622, 1623, 1624, 1627, 1628, 1631,
+ 1632, 1635, 1639, 1643, 1649, 1655, 1657, 1661, 1665, 1666,
+ 1670, 1671, 1675, 1676, 1681, 1683, 1685, 1688
};
#endif
@@ -169,7 +168,7 @@ static const char *const yytname[] =
# ifdef YYPRINT
/* YYTOKNUM[NUM] -- (External) token number corresponding to the
(internal) symbol number NUM (which must be that of a token). */
-static const yytype_int16 yytoknum[] =
+static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
@@ -188,15 +187,15 @@ static const yytype_int16 yytoknum[] =
};
# endif
-#define YYPACT_NINF (-546)
+#define YYPACT_NINF -546
-#define yypact_value_is_default(Yyn) \
- ((Yyn) == YYPACT_NINF)
+#define yypact_value_is_default(Yystate) \
+ (!!((Yystate) == (-546)))
-#define YYTABLE_NINF (-336)
+#define YYTABLE_NINF -336
-#define yytable_value_is_error(Yyn) \
- ((Yyn) == YYTABLE_NINF)
+#define yytable_value_is_error(Yytable_value) \
+ (!!((Yytable_value) == (-336)))
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
@@ -274,7 +273,7 @@ static const yytype_int16 yypact[] =
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
Performed when YYTABLE does not specify something else to do. Zero
means the default is an error. */
-static const yytype_int16 yydefact[] =
+static const yytype_uint16 yydefact[] =
{
0, 2, 4, 6, 8, 10, 12, 14, 0, 21,
19, 0, 0, 0, 19, 137, 1, 19, 0, 19,
@@ -1237,7 +1236,7 @@ static const yytype_uint8 yyr1[] =
};
/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
-static const yytype_int8 yyr2[] =
+static const yytype_uint8 yyr2[] =
{
0, 2, 0, 4, 0, 3, 0, 3, 0, 3,
0, 3, 0, 3, 0, 3, 1, 1, 4, 0,
@@ -1331,6 +1330,6 @@ static const toketypes yy_type_tab[] =
};
/* Generated from:
- * 772de3ed75dc4010fd79a22e9c90253232ab5af632d3657c55a670d510ee71ef perly.y
+ * 34b94e3dc142e7bf1c8e8b762405941130c293e8cf1a1cf727180f9f4189b5e5 perly.y
* acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl
* ex: set ro ft=C: */