summaryrefslogtreecommitdiff
path: root/perly.tab
diff options
context:
space:
mode:
authorBranislav ZahradnĂ­k <barney@cpan.org>2021-12-23 23:25:49 +0100
committerKarl Williamson <khw@cpan.org>2022-02-05 20:54:09 -0700
commit6e9eef6684fc76adb123d29c872346b287f47aad (patch)
treece9bf13902e162d0bbae7543ad7b2f57e22b1dd7 /perly.tab
parent148f5aafd05807ac681803b169497485643e1ec6 (diff)
downloadperl-6e9eef6684fc76adb123d29c872346b287f47aad.tar.gz
Unify optional rules
- start with `opt` (renamed `siglistornull`) - employ bison's default rule whenever possible
Diffstat (limited to 'perly.tab')
-rw-r--r--perly.tab36
1 files changed, 18 insertions, 18 deletions
diff --git a/perly.tab b/perly.tab
index 8fb9b3ee56..874da32d91 100644
--- a/perly.tab
+++ b/perly.tab
@@ -84,22 +84,22 @@ static const yytype_uint16 yyrline[] =
626, 631, 635, 639, 640, 643, 649, 654, 660, 661,
666, 667, 672, 673, 675, 680, 682, 693, 695, 700,
702, 706, 726, 727, 729, 735, 800, 802, 808, 810,
- 814, 820, 821, 826, 827, 831, 835, 835, 905, 906,
- 911, 922, 923, 926, 937, 939, 941, 945, 947, 952,
- 956, 960, 964, 970, 975, 981, 987, 989, 991, 994,
- 993, 1004, 1005, 1009, 1013, 1016, 1021, 1026, 1029, 1033,
- 1037, 1043, 1051, 1058, 1064, 1066, 1068, 1073, 1075, 1077,
- 1082, 1084, 1086, 1088, 1090, 1092, 1094, 1096, 1098, 1100,
- 1102, 1106, 1108, 1110, 1112, 1116, 1118, 1122, 1124, 1126,
- 1128, 1132, 1134, 1139, 1141, 1144, 1146, 1148, 1151, 1154,
- 1165, 1168, 1175, 1177, 1179, 1181, 1183, 1186, 1192, 1194,
- 1198, 1199, 1200, 1201, 1202, 1204, 1206, 1208, 1210, 1212,
- 1214, 1216, 1218, 1220, 1222, 1224, 1226, 1228, 1238, 1248,
- 1258, 1268, 1270, 1272, 1275, 1280, 1284, 1286, 1288, 1290,
- 1293, 1295, 1298, 1300, 1302, 1304, 1306, 1308, 1310, 1312,
- 1314, 1317, 1319, 1321, 1323, 1325, 1327, 1331, 1334, 1333,
- 1346, 1347, 1348, 1353, 1355, 1357, 1359, 1364, 1366, 1369,
- 1371, 1373, 1379, 1380, 1385, 1386, 1391, 1392, 1398, 1403,
+ 814, 820, 821, 826, 827, 831, 835, 835, 906, 907,
+ 912, 924, 925, 929, 940, 942, 944, 948, 950, 955,
+ 959, 963, 967, 973, 978, 984, 990, 992, 994, 997,
+ 996, 1007, 1008, 1012, 1016, 1019, 1024, 1029, 1032, 1036,
+ 1040, 1046, 1054, 1061, 1067, 1069, 1071, 1076, 1078, 1080,
+ 1085, 1087, 1089, 1091, 1093, 1095, 1097, 1099, 1101, 1103,
+ 1105, 1109, 1111, 1113, 1115, 1119, 1121, 1125, 1127, 1129,
+ 1131, 1135, 1137, 1142, 1144, 1147, 1149, 1151, 1154, 1157,
+ 1168, 1171, 1178, 1180, 1182, 1184, 1186, 1189, 1195, 1197,
+ 1201, 1202, 1203, 1204, 1205, 1207, 1209, 1211, 1213, 1215,
+ 1217, 1219, 1221, 1223, 1225, 1227, 1229, 1231, 1241, 1251,
+ 1261, 1271, 1273, 1275, 1278, 1283, 1287, 1289, 1291, 1293,
+ 1296, 1298, 1301, 1303, 1305, 1307, 1309, 1311, 1313, 1315,
+ 1317, 1320, 1322, 1324, 1326, 1328, 1330, 1334, 1337, 1336,
+ 1349, 1350, 1351, 1356, 1358, 1360, 1362, 1367, 1369, 1372,
+ 1374, 1376, 1382, 1383, 1387, 1388, 1392, 1393, 1398, 1403,
1405, 1409, 1412, 1416, 1417, 1418, 1421, 1422, 1425, 1426,
1429, 1433, 1437, 1443, 1449, 1451, 1455, 1459, 1460, 1464,
1465, 1469, 1470, 1475, 1477, 1479, 1482
@@ -140,7 +140,7 @@ static const char *const yytname[] =
"mnexpr", "formname", "startsub", "startanonsub", "startformsub",
"subname", "proto", "subattrlist", "myattrlist", "sigvarname",
"sigslurpsigil", "sigslurpelem", "sigdefault", "sigscalarelem",
- "sigelem", "siglist", "siglistornull", "optsubsignature", "subsignature",
+ "sigelem", "siglist", "optsiglist", "optsubsignature", "subsignature",
"subsigguts", "$@17", "optsubbody", "subbody", "optsigsubbody",
"sigsubbody", "expr", "listexpr", "listop", "@18", "method",
"subscripted", "termbinop", "termrelop", "relopchain", "termeqop",
@@ -1248,6 +1248,6 @@ static const toketypes yy_type_tab[] =
};
/* Generated from:
- * 6455352f94c7754fed7595fc369ec82073a67933c4a46ba1c07433f023b8cacd perly.y
+ * 2dfefce380093b4e965ea327b172cdeabe9d706bf879f0fea6e9388ee185bd32 perly.y
* acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl
* ex: set ro: */