From 6f6113c257e022bf45615ed1ff82406f303ce978 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Tue, 25 May 2021 22:16:13 +0200 Subject: [PATCH] Add basic support for new RETURNING keyword This adds support for the RETURNING keyword which was introduced in SQLite 3.35.0 by adding it to the syntax highlighter and the auto completion as well as adding it to the lexer and parser (though it is not used by the latter in any significant way). --- src/SqlUiLexer.cpp | 2 +- src/sql/parser/sqlite3_lexer.cpp | 1298 +++++------ src/sql/parser/sqlite3_lexer.h | 2 +- src/sql/parser/sqlite3_lexer.ll | 1 + src/sql/parser/sqlite3_parser.cpp | 3447 +++++++++++++++-------------- src/sql/parser/sqlite3_parser.hpp | 242 +- src/sql/parser/sqlite3_parser.yy | 2 + 7 files changed, 2531 insertions(+), 2463 deletions(-) diff --git a/src/SqlUiLexer.cpp b/src/SqlUiLexer.cpp index e91dec3f..9c279fd9 100644 --- a/src/SqlUiLexer.cpp +++ b/src/SqlUiLexer.cpp @@ -56,7 +56,7 @@ void SqlUiLexer::setupAutoCompletion() << "OF" << "OFFSET" << "ON" << "OR" << "ORDER" << "OUTER" << "OVER" << "PARTITION" << "PLAN" << "PRAGMA" << "PRECEDING" << "PRIMARY" << "QUERY" << "RAISE" << "RANGE" << "RECURSIVE" << "REFERENCES" << "REGEXP" << "REINDEX" << "RELEASE" - << "RENAME" << "REPLACE" << "RESTRICT" << "RIGHT" << "ROLLBACK" + << "RENAME" << "REPLACE" << "RESTRICT" << "RETURNING" << "RIGHT" << "ROLLBACK" << "ROWID" << "ROW" << "ROWS" << "SAVEPOINT" << "SELECT" << "SET" << "STORED" << "TABLE" << "TEMP" << "TEMPORARY" << "THEN" << "TO" << "TRANSACTION" << "TRIGGER" << "UNBOUNDED" << "UNION" << "UNIQUE" << "UPDATE" << "USING" diff --git a/src/sql/parser/sqlite3_lexer.cpp b/src/sql/parser/sqlite3_lexer.cpp index 5ff6e45e..7d155cc9 100644 --- a/src/sql/parser/sqlite3_lexer.cpp +++ b/src/sql/parser/sqlite3_lexer.cpp @@ -420,8 +420,8 @@ static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner ); /* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\ yyg->yy_c_buf_p = yy_cp; /* %% [4.0] data tables for the DFA and the user's section 1 definitions go here */ -#define YY_NUM_RULES 123 -#define YY_END_OF_BUFFER 124 +#define YY_NUM_RULES 124 +#define YY_END_OF_BUFFER 125 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -429,59 +429,60 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static const flex_int16_t yy_accept[467] = +static const flex_int16_t yy_accept[474] = { 0, - 0, 0, 0, 0, 124, 122, 1, 2, 2, 122, - 122, 109, 108, 122, 98, 99, 105, 103, 101, 104, - 100, 106, 94, 94, 122, 102, 116, 112, 114, 96, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 122, 122, 110, 107, 122, 122, 122, 89, - 1, 2, 118, 0, 92, 0, 93, 3, 94, 4, - 94, 94, 0, 0, 97, 120, 117, 119, 113, 115, - 121, 96, 89, 89, 89, 89, 89, 11, 89, 0, - 0, 0, 89, 89, 89, 89, 89, 89, 89, 89, + 0, 0, 0, 0, 125, 123, 1, 2, 2, 123, + 123, 110, 109, 123, 99, 100, 106, 104, 102, 105, + 101, 107, 95, 95, 123, 103, 117, 113, 115, 97, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 123, 123, 111, 108, 123, 123, 123, 90, + 1, 2, 119, 0, 93, 0, 94, 3, 95, 4, + 95, 95, 0, 0, 98, 121, 118, 120, 114, 116, + 122, 97, 90, 90, 90, 90, 90, 11, 90, 0, + 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 42, - 89, 89, 45, 49, 89, 89, 89, 54, 89, 58, - 59, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 0, - 0, 91, 0, 90, 111, 89, 0, 0, 89, 94, - 0, 94, 94, 96, 89, 89, 89, 6, 12, 89, - 0, 0, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 32, 89, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 51, 89, 89, 55, 89, 89, 89, 89, 89, 89, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 42, + 90, 90, 45, 49, 90, 90, 90, 54, 90, 58, + 59, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, + 0, 92, 0, 91, 112, 90, 0, 0, 90, 95, + 0, 95, 95, 97, 90, 90, 90, 6, 12, 90, + 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 90, 90, 32, 90, 90, 90, 90, 90, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 51, 90, 90, 55, 90, 90, 90, 90, 90, 90, - 89, 89, 89, 89, 89, 89, 89, 89, 74, 89, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 89, 95, 0, 0, 5, 89, 89, 89, 89, 0, - 89, 89, 15, 16, 89, 89, 89, 89, 89, 89, - 89, 89, 89, 29, 89, 31, 89, 89, 35, 89, - 89, 89, 89, 89, 41, 89, 89, 89, 89, 89, - 89, 52, 89, 89, 57, 60, 89, 89, 89, 89, - 89, 89, 89, 89, 89, 89, 89, 72, 89, 89, - 89, 77, 79, 80, 89, 89, 89, 89, 89, 86, - 89, 89, 8, 89, 89, 89, 89, 89, 17, 89, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 75, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 96, 0, 0, 5, 90, 90, 90, 90, + 0, 90, 90, 15, 16, 90, 90, 90, 90, 90, + 90, 90, 90, 90, 29, 90, 31, 90, 90, 35, + 90, 90, 90, 90, 90, 41, 90, 90, 90, 90, + 90, 90, 52, 90, 90, 57, 60, 90, 90, 90, + 90, 90, 90, 90, 90, 90, 90, 90, 90, 73, + 90, 90, 90, 78, 80, 81, 90, 90, 90, 90, + 90, 87, 90, 90, 8, 90, 90, 90, 90, 90, - 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, - 36, 89, 89, 89, 89, 89, 89, 46, 89, 89, - 89, 53, 89, 89, 89, 89, 64, 65, 89, 89, - 89, 89, 89, 71, 89, 89, 76, 89, 89, 89, - 89, 84, 89, 87, 89, 9, 10, 89, 89, 89, - 89, 89, 89, 21, 89, 89, 89, 28, 89, 33, - 34, 37, 89, 89, 89, 43, 89, 89, 48, 50, - 89, 89, 89, 89, 89, 67, 89, 89, 89, 73, - 75, 89, 89, 82, 83, 89, 89, 89, 7, 14, - 18, 89, 89, 89, 25, 89, 89, 89, 89, 39, + 17, 90, 90, 90, 90, 90, 90, 90, 90, 90, + 90, 90, 36, 90, 90, 90, 90, 90, 90, 46, + 90, 90, 90, 53, 90, 90, 90, 90, 64, 65, + 90, 90, 90, 90, 90, 90, 72, 90, 90, 77, + 90, 90, 90, 90, 85, 90, 88, 90, 9, 10, + 90, 90, 90, 90, 90, 90, 21, 90, 90, 90, + 28, 90, 33, 34, 37, 90, 90, 90, 43, 90, + 90, 48, 50, 90, 90, 90, 90, 90, 67, 90, + 90, 90, 90, 74, 76, 90, 90, 83, 84, 90, + 90, 90, 7, 14, 18, 90, 90, 90, 25, 90, - 89, 89, 89, 56, 89, 89, 63, 89, 68, 89, - 89, 89, 89, 85, 88, 89, 19, 89, 89, 89, - 27, 30, 89, 89, 89, 89, 89, 89, 89, 69, - 70, 89, 89, 89, 89, 89, 89, 89, 38, 40, - 44, 47, 61, 62, 89, 78, 81, 89, 20, 89, - 89, 26, 66, 89, 89, 89, 89, 22, 23, 13, - 89, 89, 89, 89, 24, 0 + 90, 90, 90, 39, 90, 90, 90, 56, 90, 90, + 63, 90, 68, 90, 90, 90, 90, 90, 86, 89, + 90, 19, 90, 90, 90, 27, 30, 90, 90, 90, + 90, 90, 90, 90, 69, 90, 71, 90, 90, 90, + 90, 90, 90, 90, 38, 40, 44, 47, 61, 62, + 90, 70, 79, 82, 90, 20, 90, 90, 26, 66, + 90, 90, 90, 90, 22, 23, 13, 90, 90, 90, + 90, 24, 0 } ; static const YY_CHAR yy_ec[256] = @@ -529,119 +530,121 @@ static const YY_CHAR yy_meta[85] = 1, 7, 7, 7 } ; -static const flex_int16_t yy_base[475] = +static const flex_int16_t yy_base[482] = { 0, - 0, 0, 59, 60, 283, 2424, 279, 84, 86, 255, - 260, 2424, 2424, 256, 2424, 2424, 2424, 2424, 2424, 244, - 73, 242, 77, 81, 0, 2424, 79, 229, 81, 229, + 0, 0, 59, 60, 283, 2439, 279, 84, 86, 255, + 260, 2439, 2439, 256, 2439, 2439, 2439, 2439, 2439, 244, + 73, 242, 77, 81, 0, 2439, 79, 229, 81, 229, 128, 64, 187, 76, 124, 94, 157, 34, 241, 68, 135, 98, 163, 221, 251, 227, 267, 311, 276, 141, - 294, 247, 192, 189, 159, 2424, 155, 153, 151, 369, - 227, 105, 2424, 222, 220, 212, 196, 2424, 111, 2424, - 232, 345, 366, 0, 0, 2424, 2424, 2424, 2424, 2424, - 2424, 94, 49, 306, 327, 338, 369, 355, 346, 118, + 294, 247, 192, 189, 159, 2439, 155, 153, 151, 369, + 227, 105, 2439, 222, 220, 212, 196, 2439, 111, 2439, + 232, 345, 366, 0, 0, 2439, 2439, 2439, 2439, 2439, + 2439, 94, 49, 306, 327, 338, 369, 355, 346, 118, 116, 111, 372, 387, 402, 410, 405, 192, 435, 419, 432, 415, 439, 399, 471, 474, 494, 485, 480, 60, 499, 504, 517, 535, 529, 508, 548, 551, 557, 216, - 285, 567, 571, 593, 581, 626, 623, 601, 629, 634, - 653, 642, 646, 687, 664, 446, 680, 672, 693, 181, - 136, 2424, 132, 129, 2424, 319, 98, 90, 675, 586, - 103, 119, 0, 196, 696, 710, 706, 443, 526, 700, - 85, 83, 724, 757, 753, 760, 773, 765, 779, 769, - 799, 803, 793, 829, 596, 838, 823, 789, 826, 844, - 832, 860, 864, 847, 856, 874, 895, 887, 904, 890, - 729, 907, 923, 914, 918, 932, 937, 956, 961, 950, + 285, 567, 571, 593, 581, 647, 620, 644, 629, 589, + 600, 578, 640, 691, 676, 446, 616, 680, 688, 181, + 136, 2439, 132, 129, 2439, 319, 98, 90, 707, 676, + 103, 119, 0, 196, 695, 717, 714, 443, 521, 727, + 85, 83, 673, 757, 724, 739, 774, 760, 749, 819, + 753, 797, 779, 789, 659, 800, 803, 823, 826, 831, + 852, 808, 836, 841, 859, 863, 870, 866, 896, 882, + 662, 900, 903, 922, 925, 928, 918, 910, 931, 944, - 976, 965, 982, 986, 973, 989, 1018, 1023, 796, 992, - 1013, 1039, 1044, 1054, 1047, 1050, 1059, 1073, 1079, 1105, - 1083, 2424, 136, 44, 817, 1101, 1109, 1097, 1076, 38, - 1123, 1142, 946, 1035, 1134, 1145, 1149, 1128, 1157, 1160, - 1163, 1152, 1175, 1167, 1204, 1170, 1214, 1211, 1178, 1233, - 1240, 1236, 1243, 1229, 1182, 1258, 1249, 1226, 1271, 1278, - 1291, 1197, 1281, 1284, 1207, 1253, 1313, 1318, 1324, 1321, - 1327, 1301, 1310, 1343, 1346, 1363, 1383, 1331, 1392, 1340, - 1401, 1395, 1350, 1354, 1370, 1412, 1398, 1407, 1418, 1373, - 1429, 1447, 1415, 1454, 1460, 1466, 1476, 1481, 1425, 1472, + 963, 966, 973, 986, 989, 992, 996, 1019, 1001, 745, + 1015, 1022, 1026, 1049, 1035, 1052, 1058, 1067, 1072, 1079, + 1086, 1082, 2439, 136, 44, 890, 1098, 1090, 1109, 1112, + 38, 1117, 1122, 893, 935, 1143, 1134, 1146, 1139, 1158, + 1155, 1162, 1172, 1175, 938, 1190, 953, 1178, 1204, 957, + 1220, 1233, 1212, 1201, 1226, 960, 1247, 1241, 1229, 1237, + 1255, 1268, 1030, 1260, 1281, 1150, 1183, 1294, 1277, 1314, + 1311, 1323, 1291, 1307, 1328, 1337, 1342, 1345, 1357, 1263, + 1360, 1372, 1379, 1364, 1284, 1351, 1376, 1390, 1404, 1384, + 1407, 1387, 1421, 1417, 1400, 1426, 1434, 1440, 1462, 1467, - 1484, 1491, 1494, 1502, 1514, 1509, 1531, 1542, 1552, 1545, - 1443, 1559, 1523, 1555, 1568, 1573, 1538, 1562, 1578, 1586, - 1582, 1589, 1611, 1604, 1624, 1620, 1596, 1601, 1637, 1640, - 1661, 1664, 1671, 1617, 1667, 1676, 1631, 1685, 1690, 1680, - 1702, 1653, 1715, 1693, 1706, 1699, 1709, 1737, 1740, 1757, - 1766, 1772, 1775, 1720, 1760, 1763, 1805, 1727, 1809, 1730, - 1744, 1769, 1798, 1795, 1822, 1786, 1839, 1834, 1790, 1801, - 1849, 1856, 1862, 1825, 1859, 1818, 1890, 1896, 1899, 1828, - 1846, 1908, 1918, 1853, 1868, 1921, 1912, 1926, 1877, 1882, - 1905, 1939, 1936, 1945, 1931, 1950, 1978, 1966, 1985, 1958, + 1429, 1453, 1480, 1476, 1472, 1490, 1483, 1497, 1502, 1530, + 1511, 1527, 1493, 1535, 1539, 1521, 1565, 1568, 1562, 1506, + 1574, 1557, 1571, 1549, 1597, 1590, 1608, 1600, 1577, 1585, + 1634, 1629, 1637, 1641, 1647, 1650, 1605, 1654, 1668, 1618, + 1664, 1676, 1680, 1698, 1658, 1718, 1671, 1703, 1683, 1686, + 1733, 1736, 1715, 1746, 1750, 1753, 1709, 1739, 1765, 1801, + 1712, 1783, 1742, 1759, 1762, 1805, 1811, 1808, 1775, 1825, + 1817, 1779, 1787, 1837, 1841, 1852, 1848, 1866, 1828, 1883, + 1886, 1893, 1889, 1855, 1869, 1902, 1916, 1876, 1879, 1927, + 1933, 1911, 1897, 1905, 1919, 1945, 1949, 1938, 1941, 1970, - 1995, 1990, 2000, 1961, 2007, 2014, 1973, 2023, 2003, 2019, - 2030, 2033, 2040, 2026, 2036, 2070, 2043, 2054, 2099, 2093, - 2049, 2057, 2102, 2106, 2112, 2096, 2120, 2130, 2138, 2065, - 2083, 2123, 2141, 2160, 2155, 2185, 2182, 2188, 2126, 2147, - 2150, 2166, 2169, 2172, 2191, 2175, 2178, 2246, 2195, 2235, - 2243, 2200, 2203, 2249, 2261, 2264, 2267, 2213, 2270, 2216, - 2289, 2281, 2255, 2300, 2219, 2424, 2384, 2391, 2394, 2397, - 2404, 2411, 2415, 2418 + 1976, 1962, 1980, 1954, 1983, 1995, 2004, 1966, 2015, 2018, + 1988, 2023, 1991, 2011, 2037, 2045, 2053, 2031, 2028, 2034, + 2073, 2056, 2083, 2096, 2093, 2060, 2063, 2099, 2104, 2131, + 2113, 2125, 2138, 2141, 2069, 2157, 2090, 2148, 2175, 2163, + 2171, 2179, 2185, 2197, 2128, 2153, 2167, 2182, 2188, 2191, + 2216, 2194, 2200, 2203, 2259, 2208, 2248, 2256, 2213, 2219, + 2266, 2276, 2285, 2263, 2227, 2279, 2230, 2282, 2298, 2288, + 2315, 2291, 2439, 2399, 2406, 2409, 2412, 2419, 2426, 2430, + 2433 } ; -static const flex_int16_t yy_def[475] = +static const flex_int16_t yy_def[482] = { 0, - 466, 1, 1, 1, 466, 466, 466, 466, 466, 466, - 467, 466, 466, 468, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 469, 466, 466, 466, 466, 466, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 471, 472, 466, 466, 466, 466, 466, 35, - 466, 466, 466, 467, 466, 468, 466, 466, 466, 466, - 466, 466, 466, 473, 469, 466, 466, 466, 466, 466, - 466, 466, 470, 470, 470, 470, 470, 470, 470, 466, - 466, 466, 470, 470, 470, 470, 470, 470, 470, 470, + 473, 1, 1, 1, 473, 473, 473, 473, 473, 473, + 474, 473, 473, 475, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 476, 473, 473, 473, 473, 473, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 478, 479, 473, 473, 473, 473, 473, 35, + 473, 473, 473, 474, 473, 475, 473, 473, 473, 473, + 473, 473, 473, 480, 476, 473, 473, 473, 473, 473, + 473, 473, 477, 477, 477, 477, 477, 477, 477, 473, + 473, 473, 477, 477, 477, 477, 477, 477, 477, 477, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 474, - 471, 466, 472, 466, 466, 470, 466, 466, 470, 466, - 466, 466, 473, 466, 470, 470, 470, 470, 470, 470, - 466, 466, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 481, + 478, 473, 479, 473, 473, 477, 473, 473, 477, 473, + 473, 473, 480, 473, 477, 477, 477, 477, 477, 477, + 473, 473, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 466, 474, 466, 470, 470, 470, 470, 470, 466, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 473, 481, 473, 477, 477, 477, 477, 477, + 473, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 0, 466, 466, 466, 466, - 466, 466, 466, 466 + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, + 477, 477, 0, 473, 473, 473, 473, 473, 473, 473, + 473 } ; -static const flex_int16_t yy_nxt[2509] = +static const flex_int16_t yy_nxt[2524] = { 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, @@ -658,11 +661,11 @@ static const flex_int16_t yy_nxt[2509] = 73, 154, 154, 60, 60, 90, 91, 92, 83, 105, 152, 152, 93, 117, 146, 74, 115, 106, 69, 69, 90, 91, 92, 107, 99, 73, 152, 152, 100, 73, - 73, 90, 91, 92, 222, 90, 91, 92, 105, 90, + 73, 90, 91, 92, 223, 90, 91, 92, 105, 90, 91, 92, 117, 74, 84, 85, 106, 90, 91, 92, - 101, 107, 102, 230, 86, 83, 87, 103, 116, 73, - 224, 88, 104, 89, 137, 90, 91, 92, 146, 90, - 91, 92, 143, 84, 85, 144, 108, 142, 101, 222, + 101, 107, 102, 231, 86, 83, 87, 103, 116, 73, + 225, 88, 104, 89, 137, 90, 91, 92, 146, 90, + 91, 92, 143, 84, 85, 144, 108, 142, 101, 223, 102, 162, 86, 109, 87, 103, 161, 116, 83, 88, 104, 89, 118, 137, 66, 90, 91, 92, 119, 90, @@ -673,255 +676,257 @@ static const flex_int16_t yy_nxt[2509] = 150, 79, 125, 70, 96, 140, 126, 97, 68, 120, 98, 73, 169, 121, 67, 65, 127, 122, 90, 91, 92, 110, 111, 90, 91, 92, 123, 63, 112, 113, - 61, 125, 466, 466, 114, 126, 466, 120, 466, 466, - 73, 121, 466, 124, 127, 122, 128, 90, 91, 92, + 61, 125, 473, 473, 114, 126, 473, 120, 473, 473, + 73, 121, 473, 124, 127, 122, 128, 90, 91, 92, 110, 111, 90, 91, 92, 123, 112, 113, 90, 91, - 92, 129, 114, 466, 134, 466, 135, 466, 466, 136, - 466, 124, 90, 91, 92, 128, 138, 139, 90, 91, - 92, 466, 90, 91, 92, 466, 130, 466, 466, 129, - 131, 466, 134, 132, 135, 155, 466, 136, 90, 91, - 92, 466, 466, 133, 466, 138, 139, 90, 91, 92, - 71, 466, 72, 72, 466, 130, 90, 91, 92, 131, - 466, 156, 132, 155, 73, 90, 91, 92, 151, 466, - 151, 133, 159, 152, 152, 157, 466, 90, 91, 92, - 160, 466, 90, 91, 92, 84, 85, 158, 466, 156, + 92, 129, 114, 473, 134, 473, 135, 473, 473, 136, + 473, 124, 90, 91, 92, 128, 138, 139, 90, 91, + 92, 473, 90, 91, 92, 473, 130, 473, 473, 129, + 131, 473, 134, 132, 135, 155, 473, 136, 90, 91, + 92, 473, 473, 133, 473, 138, 139, 90, 91, 92, + 71, 473, 72, 72, 473, 130, 90, 91, 92, 131, + 473, 156, 132, 155, 73, 90, 91, 92, 151, 473, + 151, 133, 159, 152, 152, 157, 473, 90, 91, 92, + 160, 473, 90, 91, 92, 84, 85, 158, 473, 156, - 90, 91, 92, 73, 466, 86, 466, 149, 90, 91, - 92, 159, 88, 157, 89, 466, 163, 83, 160, 90, - 91, 92, 466, 466, 84, 85, 158, 90, 91, 92, - 164, 165, 177, 86, 168, 149, 90, 91, 92, 466, - 88, 466, 89, 175, 163, 83, 166, 466, 167, 466, - 90, 91, 92, 90, 91, 92, 466, 466, 164, 466, - 165, 177, 173, 168, 466, 170, 176, 466, 90, 91, - 92, 171, 175, 466, 166, 174, 167, 466, 172, 218, - 90, 91, 92, 90, 91, 92, 90, 91, 92, 466, + 90, 91, 92, 73, 473, 86, 473, 149, 90, 91, + 92, 159, 88, 157, 89, 473, 163, 83, 160, 90, + 91, 92, 473, 473, 84, 85, 158, 90, 91, 92, + 164, 165, 177, 86, 168, 149, 90, 91, 92, 473, + 88, 473, 89, 175, 163, 83, 166, 473, 167, 473, + 90, 91, 92, 90, 91, 92, 473, 473, 164, 473, + 165, 177, 173, 168, 473, 170, 176, 473, 90, 91, + 92, 171, 175, 473, 166, 174, 167, 473, 172, 219, + 90, 91, 92, 90, 91, 92, 90, 91, 92, 473, 173, 90, 91, 92, 170, 176, 90, 91, 92, 171, - 90, 91, 92, 174, 178, 466, 172, 179, 218, 466, - 180, 466, 466, 90, 91, 92, 90, 91, 92, 184, + 90, 91, 92, 174, 178, 473, 172, 179, 219, 473, + 180, 473, 473, 90, 91, 92, 90, 91, 92, 184, 90, 91, 92, 183, 90, 91, 92, 90, 91, 92, - 181, 466, 466, 178, 466, 179, 182, 185, 180, 466, - 466, 186, 466, 192, 466, 187, 466, 184, 466, 466, - 188, 183, 90, 91, 92, 90, 91, 92, 181, 466, + 181, 473, 473, 178, 473, 179, 182, 185, 180, 473, + 473, 186, 473, 192, 473, 187, 473, 184, 473, 473, + 188, 183, 90, 91, 92, 90, 91, 92, 181, 473, 189, 90, 91, 92, 182, 185, 90, 91, 92, 186, - 466, 192, 466, 190, 187, 90, 91, 92, 191, 188, - 90, 91, 92, 466, 466, 90, 91, 92, 189, 90, - 91, 92, 193, 195, 466, 194, 196, 466, 90, 91, + 473, 192, 473, 190, 187, 90, 91, 92, 191, 188, + 90, 91, 92, 473, 473, 90, 91, 92, 189, 90, + 91, 92, 193, 195, 473, 194, 196, 473, 90, 91, - 92, 190, 466, 150, 150, 466, 191, 90, 91, 92, - 90, 91, 92, 197, 200, 73, 90, 91, 92, 201, - 193, 195, 198, 194, 466, 196, 199, 466, 466, 90, - 91, 92, 90, 91, 92, 466, 466, 208, 90, 91, - 92, 197, 466, 200, 73, 209, 466, 201, 90, 91, - 92, 198, 90, 91, 92, 199, 202, 203, 466, 206, - 211, 466, 90, 91, 92, 208, 204, 466, 210, 205, - 207, 213, 466, 209, 90, 91, 92, 90, 91, 92, - 466, 466, 90, 91, 92, 202, 203, 206, 466, 211, - 212, 214, 217, 466, 204, 466, 210, 205, 207, 466, + 92, 190, 90, 91, 92, 473, 191, 214, 473, 473, + 90, 91, 92, 197, 200, 212, 90, 91, 92, 201, + 193, 195, 198, 194, 473, 196, 199, 473, 473, 90, + 91, 92, 90, 91, 92, 473, 214, 213, 90, 91, + 92, 197, 473, 200, 212, 473, 473, 201, 90, 91, + 92, 198, 90, 91, 92, 199, 207, 473, 220, 90, + 91, 92, 90, 91, 92, 213, 473, 208, 211, 473, + 90, 91, 92, 473, 90, 91, 92, 202, 203, 473, + 209, 90, 91, 92, 207, 215, 220, 204, 210, 473, + 205, 206, 473, 150, 150, 208, 211, 90, 91, 92, - 213, 220, 466, 225, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 215, 466, 90, 91, 92, 212, 214, - 216, 217, 219, 90, 91, 92, 466, 90, 91, 92, - 220, 228, 225, 466, 90, 91, 92, 221, 226, 229, - 466, 466, 215, 227, 466, 90, 91, 92, 466, 216, - 219, 466, 466, 90, 91, 92, 90, 91, 92, 466, - 228, 90, 91, 92, 466, 221, 226, 229, 90, 91, - 92, 231, 227, 466, 90, 91, 92, 90, 91, 92, - 235, 90, 91, 92, 232, 466, 233, 90, 91, 92, - 239, 90, 91, 92, 241, 466, 236, 466, 242, 231, + 473, 90, 91, 92, 218, 73, 202, 203, 209, 221, + 90, 91, 92, 215, 473, 204, 210, 216, 205, 206, + 232, 90, 91, 92, 217, 90, 91, 92, 90, 91, + 92, 473, 222, 218, 73, 226, 473, 227, 221, 229, + 90, 91, 92, 90, 91, 92, 216, 473, 232, 473, + 228, 236, 473, 217, 90, 91, 92, 90, 91, 92, + 222, 90, 91, 92, 226, 227, 230, 473, 229, 90, + 91, 92, 90, 91, 92, 237, 90, 91, 92, 228, + 236, 473, 244, 473, 233, 240, 234, 473, 90, 91, + 92, 241, 473, 473, 230, 90, 91, 92, 90, 91, - 466, 234, 466, 237, 466, 90, 91, 92, 466, 235, - 90, 91, 92, 232, 466, 233, 238, 466, 466, 239, - 466, 240, 466, 241, 236, 249, 466, 242, 243, 234, - 244, 466, 237, 466, 90, 91, 92, 245, 90, 91, - 92, 90, 91, 92, 238, 466, 90, 91, 92, 240, - 90, 91, 92, 249, 90, 91, 92, 243, 246, 244, - 90, 91, 92, 247, 466, 245, 248, 466, 252, 250, - 90, 91, 92, 255, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 466, 90, 91, 92, 246, 251, 253, - 466, 466, 247, 254, 248, 256, 252, 250, 90, 91, + 92, 235, 473, 237, 238, 90, 91, 92, 90, 91, + 92, 244, 473, 233, 240, 234, 473, 239, 247, 241, + 90, 91, 92, 246, 245, 248, 90, 91, 92, 235, + 90, 91, 92, 238, 90, 91, 92, 254, 90, 91, + 92, 90, 91, 92, 242, 239, 249, 247, 243, 473, + 473, 246, 473, 245, 248, 90, 91, 92, 473, 250, + 90, 91, 92, 473, 473, 255, 254, 256, 473, 251, + 90, 91, 92, 242, 249, 252, 473, 243, 90, 91, + 92, 90, 91, 92, 90, 91, 92, 250, 253, 90, + 91, 92, 258, 473, 255, 473, 256, 251, 257, 259, - 92, 466, 255, 257, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 90, 91, 92, 251, 466, 253, 90, - 91, 92, 254, 256, 258, 90, 91, 92, 90, 91, - 92, 259, 257, 260, 466, 261, 262, 90, 91, 92, - 466, 90, 91, 92, 466, 90, 91, 92, 466, 466, - 263, 466, 264, 258, 265, 90, 91, 92, 466, 259, - 466, 466, 260, 261, 466, 262, 466, 466, 90, 91, - 92, 90, 91, 92, 266, 466, 90, 91, 92, 263, - 264, 267, 265, 268, 466, 90, 91, 92, 90, 91, - 92, 466, 466, 270, 272, 90, 91, 92, 269, 90, + 90, 91, 92, 252, 90, 91, 92, 90, 91, 92, + 260, 473, 90, 91, 92, 473, 253, 90, 91, 92, + 473, 258, 90, 91, 92, 261, 257, 262, 259, 263, + 264, 473, 473, 90, 91, 92, 473, 269, 260, 473, + 90, 91, 92, 473, 90, 91, 92, 90, 91, 92, + 473, 90, 91, 92, 261, 262, 473, 473, 263, 264, + 265, 266, 268, 90, 91, 92, 269, 473, 270, 473, + 267, 90, 91, 92, 90, 91, 92, 90, 91, 92, + 473, 90, 91, 92, 90, 91, 92, 271, 265, 266, + 268, 90, 91, 92, 272, 273, 270, 473, 267, 90, - 91, 92, 266, 466, 90, 91, 92, 271, 466, 267, - 466, 273, 268, 90, 91, 92, 466, 275, 90, 91, - 92, 270, 274, 272, 466, 276, 269, 90, 91, 92, - 466, 90, 91, 92, 280, 466, 271, 90, 91, 92, - 273, 466, 90, 91, 92, 275, 90, 91, 92, 281, - 274, 277, 279, 276, 90, 91, 92, 90, 91, 92, - 466, 278, 280, 90, 91, 92, 466, 90, 91, 92, - 90, 91, 92, 90, 91, 92, 466, 281, 466, 282, - 277, 279, 283, 284, 287, 466, 285, 466, 466, 278, - 466, 286, 466, 466, 90, 91, 92, 466, 466, 90, - - 91, 92, 466, 466, 90, 91, 92, 282, 466, 296, - 283, 288, 284, 287, 285, 292, 90, 91, 92, 286, - 90, 91, 92, 289, 466, 90, 91, 92, 90, 91, - 92, 90, 91, 92, 466, 90, 91, 92, 296, 288, - 90, 91, 92, 290, 292, 293, 295, 291, 294, 466, - 466, 289, 297, 466, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 466, 90, 91, 92, 298, 466, 299, - 300, 290, 302, 293, 295, 291, 294, 466, 90, 91, - 92, 297, 90, 91, 92, 301, 90, 91, 92, 304, - 90, 91, 92, 466, 306, 466, 298, 299, 466, 300, - - 302, 303, 466, 466, 90, 91, 92, 466, 305, 90, - 91, 92, 466, 301, 466, 90, 91, 92, 304, 307, - 466, 466, 306, 90, 91, 92, 90, 91, 92, 303, - 90, 91, 92, 90, 91, 92, 305, 308, 90, 91, - 92, 90, 91, 92, 90, 91, 92, 307, 90, 91, - 92, 90, 91, 92, 309, 310, 90, 91, 92, 90, - 91, 92, 311, 90, 91, 92, 308, 466, 466, 312, - 466, 315, 466, 466, 318, 313, 314, 317, 90, 91, - 92, 466, 309, 310, 466, 90, 91, 92, 90, 91, - 92, 311, 90, 91, 92, 90, 91, 92, 312, 315, - - 316, 466, 318, 313, 319, 314, 317, 90, 91, 92, - 90, 91, 92, 322, 90, 91, 92, 90, 91, 92, - 320, 90, 91, 92, 90, 91, 92, 321, 316, 323, - 90, 91, 92, 319, 90, 91, 92, 466, 466, 90, - 91, 92, 322, 329, 466, 466, 324, 325, 320, 326, - 327, 466, 90, 91, 92, 321, 328, 323, 330, 90, - 91, 92, 90, 91, 92, 90, 91, 92, 331, 336, - 466, 329, 90, 91, 92, 324, 325, 466, 326, 327, - 466, 466, 90, 91, 92, 328, 330, 466, 332, 333, - 466, 90, 91, 92, 90, 91, 92, 331, 336, 90, - - 91, 92, 90, 91, 92, 90, 91, 92, 90, 91, - 92, 334, 90, 91, 92, 339, 332, 466, 333, 335, - 466, 90, 91, 92, 90, 91, 92, 90, 91, 92, - 337, 90, 91, 92, 338, 90, 91, 92, 342, 466, - 334, 466, 341, 339, 90, 91, 92, 466, 335, 466, - 466, 90, 91, 92, 90, 91, 92, 340, 344, 337, - 466, 466, 338, 343, 90, 91, 92, 342, 466, 466, - 341, 466, 466, 90, 91, 92, 90, 91, 92, 90, - 91, 92, 90, 91, 92, 340, 345, 344, 90, 91, - 92, 343, 346, 90, 91, 92, 90, 91, 92, 90, - - 91, 92, 466, 347, 348, 349, 90, 91, 92, 350, - 90, 91, 92, 466, 345, 466, 351, 352, 466, 466, - 346, 466, 466, 354, 90, 91, 92, 466, 90, 91, - 92, 347, 348, 353, 349, 90, 91, 92, 350, 466, - 355, 90, 91, 92, 351, 466, 352, 90, 91, 92, - 356, 357, 354, 90, 91, 92, 466, 90, 91, 92, - 358, 353, 90, 91, 92, 90, 91, 92, 355, 466, - 363, 367, 90, 91, 92, 90, 91, 92, 356, 357, - 359, 360, 466, 90, 91, 92, 364, 466, 361, 358, - 90, 91, 92, 365, 466, 90, 91, 92, 363, 466, - - 367, 362, 366, 368, 90, 91, 92, 466, 359, 466, - 360, 466, 90, 91, 92, 364, 361, 466, 370, 90, - 91, 92, 365, 90, 91, 92, 90, 91, 92, 362, - 369, 366, 368, 90, 91, 92, 90, 91, 92, 466, - 90, 91, 92, 90, 91, 92, 370, 371, 372, 90, - 91, 92, 373, 466, 90, 91, 92, 466, 369, 90, - 91, 92, 374, 90, 91, 92, 375, 90, 91, 92, - 90, 91, 92, 466, 466, 371, 372, 90, 91, 92, - 376, 373, 90, 91, 92, 90, 91, 92, 377, 466, - 374, 466, 90, 91, 92, 375, 379, 378, 90, 91, - - 92, 90, 91, 92, 381, 90, 91, 92, 376, 384, - 466, 380, 90, 91, 92, 466, 466, 377, 90, 91, - 92, 90, 91, 92, 466, 379, 378, 382, 383, 466, - 466, 385, 466, 381, 90, 91, 92, 466, 384, 380, - 386, 466, 90, 91, 92, 90, 91, 92, 90, 91, - 92, 387, 90, 91, 92, 382, 383, 90, 91, 92, - 385, 90, 91, 92, 388, 466, 90, 91, 92, 386, - 466, 90, 91, 92, 90, 91, 92, 466, 389, 387, - 90, 91, 92, 90, 91, 92, 390, 90, 91, 92, - 90, 91, 92, 388, 466, 391, 90, 91, 92, 392, - - 393, 90, 91, 92, 394, 466, 389, 395, 90, 91, - 92, 90, 91, 92, 466, 390, 466, 466, 90, 91, - 92, 90, 91, 92, 391, 90, 91, 92, 392, 393, - 396, 399, 394, 400, 397, 395, 398, 466, 90, 91, + 91, 92, 274, 90, 91, 92, 90, 91, 92, 90, + 91, 92, 90, 91, 92, 271, 90, 91, 92, 90, + 91, 92, 275, 272, 273, 90, 91, 92, 473, 473, + 281, 274, 278, 276, 90, 91, 92, 277, 90, 91, 92, 90, 91, 92, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 90, 91, 92, 90, 91, 92, 396, - 399, 400, 466, 397, 402, 398, 401, 90, 91, 92, - 403, 90, 91, 92, 407, 466, 90, 91, 92, 90, - 91, 92, 90, 91, 92, 404, 90, 91, 92, 405, - 90, 91, 92, 402, 401, 406, 466, 408, 403, 90, + 275, 473, 279, 473, 90, 91, 92, 282, 283, 281, + 278, 276, 280, 473, 286, 277, 284, 90, 91, 92, + 90, 91, 92, 90, 91, 92, 473, 90, 91, 92, + 473, 279, 90, 91, 92, 282, 283, 285, 473, 473, + 280, 287, 289, 286, 284, 473, 90, 91, 92, 288, - 91, 92, 407, 90, 91, 92, 90, 91, 92, 90, - 91, 92, 466, 404, 466, 90, 91, 92, 405, 409, - 90, 91, 92, 410, 406, 408, 411, 90, 91, 92, - 90, 91, 92, 412, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 90, 91, 92, 413, 466, 409, 90, - 91, 92, 410, 466, 466, 411, 415, 414, 90, 91, - 92, 466, 412, 90, 91, 92, 466, 466, 416, 418, - 466, 90, 91, 92, 466, 413, 420, 90, 91, 92, - 90, 91, 92, 417, 415, 414, 90, 91, 92, 90, - 91, 92, 466, 90, 91, 92, 416, 419, 418, 90, + 90, 91, 92, 90, 91, 92, 473, 90, 91, 92, + 290, 90, 91, 92, 294, 285, 90, 91, 92, 287, + 473, 289, 473, 291, 292, 473, 473, 288, 293, 296, + 90, 91, 92, 90, 91, 92, 473, 473, 290, 90, + 91, 92, 295, 294, 473, 298, 299, 300, 90, 91, + 92, 291, 292, 90, 91, 92, 293, 296, 297, 302, + 90, 91, 92, 90, 91, 92, 473, 90, 91, 92, + 295, 90, 91, 92, 298, 299, 300, 473, 301, 90, + 91, 92, 303, 304, 306, 473, 297, 473, 302, 473, + 90, 91, 92, 90, 91, 92, 473, 473, 90, 91, - 91, 92, 90, 91, 92, 420, 421, 90, 91, 92, - 422, 417, 90, 91, 92, 466, 466, 90, 91, 92, - 90, 91, 92, 423, 424, 466, 90, 91, 92, 466, - 466, 90, 91, 92, 425, 421, 426, 466, 422, 90, - 91, 92, 90, 91, 92, 466, 427, 90, 91, 92, - 429, 423, 428, 424, 90, 91, 92, 466, 466, 90, - 91, 92, 425, 430, 426, 431, 90, 91, 92, 433, - 466, 90, 91, 92, 427, 432, 90, 91, 92, 429, - 428, 90, 91, 92, 90, 91, 92, 466, 90, 91, - 92, 430, 435, 431, 466, 90, 91, 92, 433, 434, + 92, 473, 305, 90, 91, 92, 301, 307, 473, 473, + 303, 304, 473, 306, 308, 90, 91, 92, 311, 309, + 90, 91, 92, 310, 90, 91, 92, 90, 91, 92, + 305, 90, 91, 92, 316, 307, 90, 91, 92, 90, + 91, 92, 308, 90, 91, 92, 311, 309, 312, 313, + 473, 315, 310, 90, 91, 92, 90, 91, 92, 90, + 91, 92, 314, 316, 90, 91, 92, 473, 317, 319, + 321, 90, 91, 92, 473, 473, 312, 320, 313, 315, + 473, 473, 90, 91, 92, 90, 91, 92, 473, 318, + 473, 314, 324, 90, 91, 92, 317, 322, 319, 321, - 90, 91, 92, 432, 90, 91, 92, 90, 91, 92, - 466, 90, 91, 92, 90, 91, 92, 90, 91, 92, - 435, 90, 91, 92, 90, 91, 92, 436, 434, 438, - 90, 91, 92, 439, 440, 90, 91, 92, 90, 91, - 92, 441, 466, 437, 466, 442, 90, 91, 92, 466, - 466, 90, 91, 92, 466, 466, 436, 438, 443, 466, - 466, 444, 439, 440, 90, 91, 92, 445, 466, 447, - 441, 437, 446, 442, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 90, 91, 92, 443, 90, 91, 92, - 444, 466, 466, 90, 91, 92, 445, 448, 447, 449, + 473, 90, 91, 92, 323, 320, 327, 90, 91, 92, + 90, 91, 92, 473, 90, 91, 92, 318, 90, 91, + 92, 324, 90, 91, 92, 322, 325, 326, 90, 91, + 92, 473, 323, 331, 473, 327, 90, 91, 92, 328, + 329, 90, 91, 92, 90, 91, 92, 473, 473, 90, + 91, 92, 330, 333, 325, 332, 326, 473, 90, 91, + 92, 331, 90, 91, 92, 90, 91, 92, 328, 329, + 473, 336, 90, 91, 92, 90, 91, 92, 473, 334, + 473, 330, 333, 332, 335, 337, 473, 338, 90, 91, + 92, 473, 90, 91, 92, 90, 91, 92, 473, 473, - 446, 90, 91, 92, 90, 91, 92, 90, 91, 92, - 450, 90, 91, 92, 466, 451, 466, 452, 466, 90, - 91, 92, 90, 91, 92, 448, 466, 449, 90, 91, - 92, 90, 91, 92, 453, 466, 90, 91, 92, 450, - 466, 90, 91, 92, 451, 466, 452, 90, 91, 92, + 336, 339, 473, 341, 90, 91, 92, 334, 340, 90, + 91, 92, 335, 473, 337, 345, 338, 473, 90, 91, + 92, 342, 473, 90, 91, 92, 90, 91, 92, 473, + 339, 341, 90, 91, 92, 343, 473, 340, 90, 91, + 92, 90, 91, 92, 345, 90, 91, 92, 344, 342, + 347, 473, 346, 90, 91, 92, 348, 90, 91, 92, + 90, 91, 92, 343, 349, 90, 91, 92, 90, 91, + 92, 90, 91, 92, 473, 473, 344, 350, 351, 347, + 346, 90, 91, 92, 348, 90, 91, 92, 90, 91, + 92, 352, 349, 473, 473, 353, 473, 354, 90, 91, + + 92, 357, 90, 91, 92, 350, 351, 90, 91, 92, + 90, 91, 92, 355, 473, 90, 91, 92, 356, 359, + 352, 90, 91, 92, 353, 354, 473, 473, 358, 473, + 357, 361, 473, 473, 90, 91, 92, 473, 473, 360, + 363, 473, 355, 90, 91, 92, 356, 359, 90, 91, + 92, 473, 367, 90, 91, 92, 358, 90, 91, 92, + 361, 90, 91, 92, 90, 91, 92, 360, 362, 363, + 364, 90, 91, 92, 90, 91, 92, 365, 90, 91, + 92, 367, 473, 90, 91, 92, 366, 90, 91, 92, + 368, 473, 90, 91, 92, 370, 362, 369, 364, 371, + + 473, 372, 90, 91, 92, 365, 473, 373, 90, 91, + 92, 90, 91, 92, 366, 473, 90, 91, 92, 368, + 90, 91, 92, 473, 370, 473, 369, 473, 371, 372, + 90, 91, 92, 374, 375, 373, 376, 473, 90, 91, + 92, 473, 377, 90, 91, 92, 90, 91, 92, 90, + 91, 92, 90, 91, 92, 90, 91, 92, 90, 91, + 92, 374, 375, 378, 380, 376, 90, 91, 92, 379, + 377, 90, 91, 92, 381, 383, 473, 473, 90, 91, + 92, 90, 91, 92, 473, 382, 90, 91, 92, 90, + 91, 92, 378, 380, 473, 473, 385, 379, 384, 90, + + 91, 92, 473, 381, 383, 473, 386, 473, 473, 388, + 90, 91, 92, 382, 387, 90, 91, 92, 90, 91, + 92, 473, 90, 91, 92, 385, 384, 389, 90, 91, + 92, 90, 91, 92, 386, 90, 91, 92, 388, 90, + 91, 92, 387, 390, 394, 90, 91, 92, 391, 90, + 91, 92, 90, 91, 92, 473, 389, 90, 91, 92, + 392, 90, 91, 92, 90, 91, 92, 90, 91, 92, + 473, 473, 390, 394, 393, 395, 391, 396, 397, 90, + 91, 92, 473, 398, 90, 91, 92, 473, 473, 392, 90, 91, 92, 90, 91, 92, 90, 91, 92, 90, - 91, 92, 453, 90, 91, 92, 90, 91, 92, 90, - 91, 92, 90, 91, 92, 454, 90, 91, 92, 455, - 456, 90, 91, 92, 90, 91, 92, 457, 466, 466, - 458, 466, 464, 459, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 466, 454, 466, 463, 455, 456, 466, - 466, 460, 466, 461, 466, 457, 90, 91, 92, 458, - 464, 466, 459, 466, 90, 91, 92, 90, 91, 92, - 90, 91, 92, 462, 466, 463, 90, 91, 92, 460, - 465, 461, 90, 91, 92, 90, 91, 92, 90, 91, - 92, 90, 91, 92, 466, 466, 466, 466, 466, 466, - 466, 462, 90, 91, 92, 466, 466, 466, 465, 466, - 90, 91, 92, 466, 466, 466, 466, 466, 466, 466, - 466, 90, 91, 92, 64, 466, 64, 64, 64, 64, - 64, 66, 466, 66, 66, 66, 66, 66, 75, 75, + 91, 92, 393, 473, 395, 473, 396, 397, 473, 399, + 402, 398, 473, 473, 90, 91, 92, 90, 91, 92, + 90, 91, 92, 90, 91, 92, 400, 90, 91, 92, + 401, 90, 91, 92, 90, 91, 92, 399, 403, 402, + 90, 91, 92, 90, 91, 92, 90, 91, 92, 404, + 406, 473, 405, 407, 473, 400, 90, 91, 92, 401, + 90, 91, 92, 473, 90, 91, 92, 403, 90, 91, + 92, 473, 473, 408, 409, 473, 473, 404, 473, 406, + 405, 407, 90, 91, 92, 410, 90, 91, 92, 90, + 91, 92, 90, 91, 92, 473, 473, 411, 90, 91, - 83, 83, 83, 83, 141, 466, 141, 141, 141, 141, - 141, 143, 466, 143, 143, 143, 143, 143, 153, 153, - 223, 223, 223, 5, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, + 92, 408, 473, 409, 412, 473, 90, 91, 92, 90, + 91, 92, 413, 414, 410, 473, 416, 473, 90, 91, + 92, 473, 90, 91, 92, 411, 415, 417, 473, 90, + 91, 92, 412, 90, 91, 92, 90, 91, 92, 473, + 473, 413, 414, 473, 418, 416, 473, 90, 91, 92, + 90, 91, 92, 421, 473, 415, 417, 90, 91, 92, + 90, 91, 92, 419, 90, 91, 92, 90, 91, 92, + 90, 91, 92, 418, 90, 91, 92, 420, 90, 91, + 92, 421, 423, 90, 91, 92, 90, 91, 92, 422, + 424, 419, 90, 91, 92, 473, 425, 90, 91, 92, - 466, 466, 466, 466, 466, 466, 466, 466 + 90, 91, 92, 473, 426, 420, 427, 473, 90, 91, + 92, 423, 429, 473, 90, 91, 92, 422, 428, 90, + 91, 92, 90, 91, 92, 425, 90, 91, 92, 473, + 90, 91, 92, 426, 427, 90, 91, 92, 473, 430, + 431, 429, 473, 90, 91, 92, 428, 90, 91, 92, + 434, 90, 91, 92, 432, 435, 433, 90, 91, 92, + 439, 90, 91, 92, 90, 91, 92, 430, 431, 90, + 91, 92, 90, 91, 92, 436, 90, 91, 92, 434, + 437, 473, 432, 435, 433, 90, 91, 92, 473, 439, + 473, 473, 90, 91, 92, 438, 90, 91, 92, 90, + + 91, 92, 440, 436, 90, 91, 92, 473, 437, 90, + 91, 92, 90, 91, 92, 90, 91, 92, 90, 91, + 92, 441, 473, 438, 442, 473, 90, 91, 92, 444, + 445, 440, 446, 473, 90, 91, 92, 90, 91, 92, + 443, 90, 91, 92, 90, 91, 92, 473, 473, 441, + 90, 91, 92, 442, 90, 91, 92, 444, 473, 445, + 447, 446, 448, 449, 90, 91, 92, 473, 443, 450, + 451, 90, 91, 92, 90, 91, 92, 90, 91, 92, + 90, 91, 92, 473, 473, 90, 91, 92, 452, 447, + 448, 449, 473, 473, 90, 91, 92, 453, 450, 451, + + 455, 473, 473, 454, 457, 473, 90, 91, 92, 90, + 91, 92, 90, 91, 92, 456, 473, 452, 458, 90, + 91, 92, 90, 91, 92, 453, 459, 473, 455, 90, + 91, 92, 454, 457, 90, 91, 92, 473, 90, 91, + 92, 473, 473, 456, 90, 91, 92, 458, 90, 91, + 92, 473, 90, 91, 92, 459, 90, 91, 92, 460, + 90, 91, 92, 90, 91, 92, 90, 91, 92, 90, + 91, 92, 90, 91, 92, 90, 91, 92, 90, 91, + 92, 90, 91, 92, 90, 91, 92, 460, 461, 90, + 91, 92, 462, 463, 90, 91, 92, 90, 91, 92, + + 90, 91, 92, 473, 464, 465, 473, 467, 90, 91, + 92, 90, 91, 92, 466, 473, 473, 461, 473, 473, + 462, 463, 468, 470, 473, 471, 469, 473, 473, 90, + 91, 92, 464, 473, 465, 467, 473, 90, 91, 92, + 90, 91, 92, 466, 90, 91, 92, 90, 91, 92, + 468, 473, 470, 471, 469, 472, 473, 90, 91, 92, + 90, 91, 92, 90, 91, 92, 90, 91, 92, 90, + 91, 92, 90, 91, 92, 473, 473, 473, 473, 90, + 91, 92, 473, 472, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 90, 91, 92, 64, + + 473, 64, 64, 64, 64, 64, 66, 473, 66, 66, + 66, 66, 66, 75, 75, 83, 83, 83, 83, 141, + 473, 141, 141, 141, 141, 141, 143, 473, 143, 143, + 143, 143, 143, 153, 153, 224, 224, 224, 5, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473 } ; -static const flex_int16_t yy_chk[2509] = +static const flex_int16_t yy_chk[2524] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -935,10 +940,10 @@ static const flex_int16_t yy_chk[2509] = 21, 21, 23, 32, 23, 23, 24, 40, 24, 24, 27, 27, 27, 29, 29, 34, 23, 62, 62, 34, - 24, 82, 82, 3, 4, 38, 38, 38, 230, 36, - 151, 151, 32, 42, 224, 23, 40, 36, 69, 69, + 24, 82, 82, 3, 4, 38, 38, 38, 231, 36, + 151, 151, 32, 42, 225, 23, 40, 36, 69, 69, 83, 83, 83, 36, 34, 23, 152, 152, 34, 24, - 69, 110, 110, 110, 223, 32, 32, 32, 36, 40, + 69, 110, 110, 110, 224, 32, 32, 32, 36, 40, 40, 40, 42, 23, 31, 31, 36, 34, 34, 34, 35, 36, 35, 162, 31, 161, 31, 35, 41, 69, 148, 31, 35, 31, 50, 36, 36, 36, 147, 42, @@ -989,219 +994,221 @@ static const flex_int16_t yy_chk[2509] = 111, 111, 111, 0, 0, 112, 112, 112, 113, 116, 116, 116, 117, 119, 0, 118, 122, 0, 113, 113, - 113, 114, 0, 150, 150, 0, 115, 159, 159, 159, - 115, 115, 115, 123, 125, 150, 114, 114, 114, 125, + 113, 114, 159, 159, 159, 0, 115, 132, 0, 0, + 115, 115, 115, 123, 125, 130, 114, 114, 114, 125, 117, 119, 124, 118, 0, 122, 124, 0, 0, 117, - 117, 117, 118, 118, 118, 0, 0, 128, 119, 119, - 119, 123, 0, 125, 150, 128, 0, 125, 122, 122, - 122, 124, 123, 123, 123, 124, 126, 126, 0, 127, - 130, 0, 125, 125, 125, 128, 126, 0, 129, 126, - 127, 132, 0, 128, 124, 124, 124, 175, 175, 175, - 0, 0, 128, 128, 128, 126, 126, 127, 0, 130, - 131, 133, 135, 0, 126, 0, 129, 126, 127, 0, + 117, 117, 118, 118, 118, 0, 132, 131, 119, 119, + 119, 123, 0, 125, 130, 0, 0, 125, 122, 122, + 122, 124, 123, 123, 123, 124, 127, 0, 137, 132, + 132, 132, 125, 125, 125, 131, 0, 127, 129, 0, + 130, 130, 130, 0, 124, 124, 124, 126, 126, 0, + 128, 131, 131, 131, 127, 133, 137, 126, 128, 0, + 126, 126, 0, 150, 150, 127, 129, 137, 137, 137, - 132, 138, 0, 149, 127, 127, 127, 126, 126, 126, - 129, 129, 129, 134, 0, 130, 130, 130, 131, 133, - 134, 135, 137, 132, 132, 132, 0, 133, 133, 133, - 138, 157, 149, 0, 131, 131, 131, 139, 155, 160, - 0, 0, 134, 156, 0, 135, 135, 135, 0, 134, - 137, 0, 0, 138, 138, 138, 149, 149, 149, 0, - 157, 137, 137, 137, 0, 139, 155, 160, 134, 134, - 134, 163, 156, 0, 139, 139, 139, 155, 155, 155, - 165, 160, 160, 160, 164, 0, 164, 157, 157, 157, - 168, 156, 156, 156, 170, 0, 166, 0, 170, 163, + 0, 127, 127, 127, 135, 150, 126, 126, 128, 138, + 129, 129, 129, 133, 0, 126, 128, 134, 126, 126, + 163, 133, 133, 133, 134, 128, 128, 128, 126, 126, + 126, 0, 139, 135, 150, 149, 0, 155, 138, 157, + 175, 175, 175, 191, 191, 191, 134, 0, 163, 0, + 156, 165, 0, 134, 163, 163, 163, 135, 135, 135, + 139, 138, 138, 138, 149, 155, 160, 0, 157, 139, + 139, 139, 134, 134, 134, 166, 155, 155, 155, 156, + 165, 0, 171, 0, 164, 168, 164, 0, 149, 149, + 149, 169, 0, 0, 160, 157, 157, 157, 156, 156, - 0, 164, 0, 167, 0, 163, 163, 163, 0, 165, - 191, 191, 191, 164, 0, 164, 167, 0, 0, 168, - 0, 169, 0, 170, 166, 178, 0, 170, 171, 164, - 172, 0, 167, 0, 165, 165, 165, 173, 164, 164, - 164, 166, 166, 166, 167, 0, 168, 168, 168, 169, - 170, 170, 170, 178, 167, 167, 167, 171, 174, 172, - 169, 169, 169, 176, 0, 173, 177, 0, 181, 179, - 178, 178, 178, 184, 173, 173, 173, 209, 209, 209, - 171, 171, 171, 0, 172, 172, 172, 174, 180, 182, - 0, 0, 176, 183, 177, 185, 181, 179, 225, 225, + 156, 164, 0, 166, 167, 165, 165, 165, 160, 160, + 160, 171, 0, 164, 168, 164, 0, 167, 174, 169, + 166, 166, 166, 173, 172, 176, 210, 210, 210, 164, + 169, 169, 169, 167, 171, 171, 171, 182, 164, 164, + 164, 168, 168, 168, 170, 167, 177, 174, 170, 0, + 0, 173, 0, 172, 176, 167, 167, 167, 0, 178, + 173, 173, 173, 0, 0, 183, 182, 184, 0, 179, + 174, 174, 174, 170, 177, 180, 0, 170, 172, 172, + 172, 176, 176, 176, 177, 177, 177, 178, 181, 182, + 182, 182, 186, 0, 183, 0, 184, 179, 185, 187, - 225, 0, 184, 186, 177, 177, 177, 179, 179, 179, - 174, 174, 174, 181, 181, 181, 180, 0, 182, 176, - 176, 176, 183, 185, 187, 180, 180, 180, 184, 184, - 184, 188, 186, 189, 0, 190, 192, 185, 185, 185, - 0, 182, 182, 182, 0, 183, 183, 183, 0, 0, - 193, 0, 194, 187, 195, 186, 186, 186, 0, 188, - 0, 0, 189, 190, 0, 192, 0, 0, 188, 188, - 188, 190, 190, 190, 196, 0, 187, 187, 187, 193, - 194, 197, 195, 198, 0, 189, 189, 189, 192, 192, - 192, 0, 0, 200, 202, 194, 194, 194, 199, 195, + 170, 170, 170, 180, 178, 178, 178, 179, 179, 179, + 188, 0, 180, 180, 180, 0, 181, 183, 183, 183, + 0, 186, 184, 184, 184, 189, 185, 190, 187, 192, + 193, 0, 0, 181, 181, 181, 0, 198, 188, 0, + 185, 185, 185, 0, 186, 186, 186, 188, 188, 188, + 0, 187, 187, 187, 189, 190, 0, 0, 192, 193, + 194, 195, 197, 190, 190, 190, 198, 0, 199, 0, + 196, 226, 226, 226, 234, 234, 234, 189, 189, 189, + 0, 192, 192, 192, 193, 193, 193, 200, 194, 195, + 197, 198, 198, 198, 201, 202, 199, 0, 196, 197, - 195, 195, 196, 0, 193, 193, 193, 201, 0, 197, - 0, 203, 198, 196, 196, 196, 0, 205, 197, 197, - 197, 200, 204, 202, 0, 206, 199, 233, 233, 233, - 0, 200, 200, 200, 210, 0, 201, 198, 198, 198, - 203, 0, 199, 199, 199, 205, 202, 202, 202, 211, - 204, 207, 208, 206, 205, 205, 205, 201, 201, 201, - 0, 207, 210, 203, 203, 203, 0, 204, 204, 204, - 206, 206, 206, 210, 210, 210, 0, 211, 0, 212, - 207, 208, 213, 214, 217, 0, 215, 0, 0, 207, - 0, 216, 0, 0, 211, 211, 211, 0, 0, 207, + 197, 197, 203, 194, 194, 194, 195, 195, 195, 196, + 196, 196, 199, 199, 199, 200, 235, 235, 235, 245, + 245, 245, 204, 201, 202, 200, 200, 200, 0, 0, + 209, 203, 207, 205, 247, 247, 247, 206, 250, 250, + 250, 256, 256, 256, 201, 201, 201, 202, 202, 202, + 204, 0, 208, 0, 203, 203, 203, 211, 212, 209, + 207, 205, 208, 0, 215, 206, 213, 204, 204, 204, + 205, 205, 205, 206, 206, 206, 0, 207, 207, 207, + 0, 208, 209, 209, 209, 211, 212, 214, 0, 0, + 208, 216, 218, 215, 213, 0, 211, 211, 211, 217, - 207, 207, 0, 0, 208, 208, 208, 212, 0, 229, - 213, 218, 214, 217, 215, 221, 234, 234, 234, 216, - 212, 212, 212, 219, 0, 213, 213, 213, 215, 215, - 215, 216, 216, 216, 0, 214, 214, 214, 229, 218, - 217, 217, 217, 220, 221, 226, 228, 220, 227, 0, - 0, 219, 231, 0, 218, 218, 218, 229, 229, 229, - 219, 219, 219, 0, 221, 221, 221, 232, 0, 235, - 236, 220, 238, 226, 228, 220, 227, 0, 228, 228, - 228, 231, 226, 226, 226, 237, 220, 220, 220, 240, - 227, 227, 227, 0, 242, 0, 232, 235, 0, 236, + 208, 208, 208, 212, 212, 212, 0, 213, 213, 213, + 219, 263, 263, 263, 222, 214, 215, 215, 215, 216, + 0, 218, 0, 220, 221, 0, 0, 217, 221, 228, + 214, 214, 214, 216, 216, 216, 0, 0, 219, 217, + 217, 217, 227, 222, 0, 230, 232, 233, 218, 218, + 218, 220, 221, 219, 219, 219, 221, 228, 229, 237, + 220, 220, 220, 222, 222, 222, 0, 221, 221, 221, + 227, 228, 228, 228, 230, 232, 233, 0, 236, 227, + 227, 227, 238, 239, 241, 0, 229, 0, 237, 0, + 229, 229, 229, 230, 230, 230, 0, 0, 232, 232, - 238, 239, 0, 0, 231, 231, 231, 0, 241, 238, - 238, 238, 0, 237, 0, 235, 235, 235, 240, 243, - 0, 0, 242, 232, 232, 232, 236, 236, 236, 239, - 237, 237, 237, 242, 242, 242, 241, 245, 239, 239, - 239, 240, 240, 240, 241, 241, 241, 243, 244, 244, - 244, 246, 246, 246, 247, 248, 243, 243, 243, 249, - 249, 249, 250, 255, 255, 255, 245, 0, 0, 251, - 0, 254, 0, 0, 258, 252, 253, 257, 262, 262, - 262, 0, 247, 248, 0, 245, 245, 245, 265, 265, - 265, 250, 248, 248, 248, 247, 247, 247, 251, 254, + 232, 0, 240, 233, 233, 233, 236, 242, 0, 0, + 238, 239, 0, 241, 243, 237, 237, 237, 248, 244, + 239, 239, 239, 246, 236, 236, 236, 238, 238, 238, + 240, 266, 266, 266, 254, 242, 241, 241, 241, 240, + 240, 240, 243, 242, 242, 242, 248, 244, 249, 251, + 0, 253, 246, 243, 243, 243, 244, 244, 244, 248, + 248, 248, 252, 254, 267, 267, 267, 0, 255, 258, + 260, 246, 246, 246, 0, 0, 249, 259, 251, 253, + 0, 0, 254, 254, 254, 249, 249, 249, 0, 257, + 0, 252, 264, 253, 253, 253, 255, 261, 258, 260, - 256, 0, 258, 252, 259, 253, 257, 258, 258, 258, - 254, 254, 254, 263, 250, 250, 250, 252, 252, 252, - 260, 251, 251, 251, 253, 253, 253, 261, 256, 264, - 257, 257, 257, 259, 266, 266, 266, 0, 0, 256, - 256, 256, 263, 272, 0, 0, 267, 268, 260, 269, - 270, 0, 259, 259, 259, 261, 271, 264, 273, 260, - 260, 260, 263, 263, 263, 264, 264, 264, 274, 280, - 0, 272, 261, 261, 261, 267, 268, 0, 269, 270, - 0, 0, 272, 272, 272, 271, 273, 0, 275, 276, - 0, 273, 273, 273, 267, 267, 267, 274, 280, 268, + 0, 251, 251, 251, 262, 259, 269, 255, 255, 255, + 259, 259, 259, 0, 252, 252, 252, 257, 260, 260, + 260, 264, 258, 258, 258, 261, 265, 268, 257, 257, + 257, 0, 262, 273, 0, 269, 261, 261, 261, 270, + 271, 264, 264, 264, 280, 280, 280, 0, 0, 262, + 262, 262, 272, 275, 265, 274, 268, 0, 269, 269, + 269, 273, 265, 265, 265, 285, 285, 285, 270, 271, + 0, 278, 273, 273, 273, 268, 268, 268, 0, 276, + 0, 272, 275, 274, 277, 279, 0, 281, 274, 274, + 274, 0, 271, 271, 271, 270, 270, 270, 0, 0, - 268, 268, 270, 270, 270, 269, 269, 269, 271, 271, - 271, 277, 278, 278, 278, 285, 275, 0, 276, 279, - 0, 280, 280, 280, 274, 274, 274, 275, 275, 275, - 281, 283, 283, 283, 282, 284, 284, 284, 288, 0, - 277, 0, 287, 285, 276, 276, 276, 0, 279, 0, - 0, 285, 285, 285, 290, 290, 290, 286, 291, 281, - 0, 0, 282, 289, 277, 277, 277, 288, 0, 0, - 287, 0, 0, 279, 279, 279, 282, 282, 282, 287, - 287, 287, 281, 281, 281, 286, 292, 291, 288, 288, - 288, 289, 294, 286, 286, 286, 293, 293, 293, 289, + 278, 282, 0, 284, 272, 272, 272, 276, 283, 275, + 275, 275, 277, 0, 279, 290, 281, 0, 276, 276, + 276, 287, 0, 277, 277, 277, 278, 278, 278, 0, + 282, 284, 286, 286, 286, 288, 0, 283, 279, 279, + 279, 281, 281, 281, 290, 284, 284, 284, 289, 287, + 293, 0, 291, 282, 282, 282, 294, 287, 287, 287, + 283, 283, 283, 288, 296, 290, 290, 290, 292, 292, + 292, 288, 288, 288, 0, 0, 289, 297, 298, 293, + 291, 295, 295, 295, 294, 289, 289, 289, 291, 291, + 291, 299, 296, 0, 0, 300, 0, 302, 294, 294, - 289, 289, 0, 295, 296, 297, 299, 299, 299, 298, - 291, 291, 291, 0, 292, 0, 300, 301, 0, 0, - 294, 0, 0, 303, 311, 311, 311, 0, 292, 292, - 292, 295, 296, 302, 297, 294, 294, 294, 298, 0, - 304, 295, 295, 295, 300, 0, 301, 296, 296, 296, - 305, 306, 303, 300, 300, 300, 0, 297, 297, 297, - 307, 302, 298, 298, 298, 301, 301, 301, 304, 0, - 313, 317, 302, 302, 302, 303, 303, 303, 305, 306, - 308, 309, 0, 304, 304, 304, 314, 0, 310, 307, - 306, 306, 306, 315, 0, 305, 305, 305, 313, 0, + 294, 305, 293, 293, 293, 297, 298, 296, 296, 296, + 301, 301, 301, 303, 0, 297, 297, 297, 304, 307, + 299, 298, 298, 298, 300, 302, 0, 0, 306, 0, + 305, 309, 0, 0, 302, 302, 302, 0, 0, 308, + 311, 0, 303, 299, 299, 299, 304, 307, 300, 300, + 300, 0, 316, 305, 305, 305, 306, 304, 304, 304, + 309, 303, 303, 303, 307, 307, 307, 308, 310, 311, + 312, 306, 306, 306, 313, 313, 313, 314, 308, 308, + 308, 316, 0, 309, 309, 309, 315, 320, 320, 320, + 317, 0, 311, 311, 311, 319, 310, 318, 312, 321, - 317, 312, 316, 319, 313, 313, 313, 0, 308, 0, - 309, 0, 307, 307, 307, 314, 310, 0, 321, 317, - 317, 317, 315, 308, 308, 308, 310, 310, 310, 312, - 320, 316, 319, 309, 309, 309, 314, 314, 314, 0, - 312, 312, 312, 318, 318, 318, 321, 323, 324, 315, - 315, 315, 325, 0, 316, 316, 316, 0, 320, 319, - 319, 319, 326, 321, 321, 321, 329, 320, 320, 320, - 322, 322, 322, 0, 0, 323, 324, 327, 327, 327, - 330, 325, 328, 328, 328, 324, 324, 324, 331, 0, - 326, 0, 323, 323, 323, 329, 333, 332, 334, 334, + 0, 322, 316, 316, 316, 314, 0, 323, 312, 312, + 312, 310, 310, 310, 315, 0, 314, 314, 314, 317, + 315, 315, 315, 0, 319, 0, 318, 0, 321, 322, + 324, 324, 324, 325, 326, 323, 327, 0, 322, 322, + 322, 0, 328, 319, 319, 319, 317, 317, 317, 318, + 318, 318, 323, 323, 323, 321, 321, 321, 329, 329, + 329, 325, 326, 331, 333, 327, 330, 330, 330, 332, + 328, 326, 326, 326, 334, 336, 0, 0, 325, 325, + 325, 328, 328, 328, 0, 335, 337, 337, 337, 327, + 327, 327, 331, 333, 0, 0, 339, 332, 338, 340, - 334, 326, 326, 326, 336, 325, 325, 325, 330, 340, - 0, 335, 337, 337, 337, 0, 0, 331, 329, 329, - 329, 330, 330, 330, 0, 333, 332, 338, 339, 0, - 0, 341, 0, 336, 342, 342, 342, 0, 340, 335, - 343, 0, 331, 331, 331, 332, 332, 332, 335, 335, - 335, 345, 333, 333, 333, 338, 339, 336, 336, 336, - 341, 340, 340, 340, 348, 0, 338, 338, 338, 343, - 0, 339, 339, 339, 344, 344, 344, 0, 349, 345, - 346, 346, 346, 341, 341, 341, 350, 345, 345, 345, - 347, 347, 347, 348, 0, 351, 343, 343, 343, 352, + 340, 340, 0, 334, 336, 0, 341, 0, 0, 343, + 332, 332, 332, 335, 342, 331, 331, 331, 333, 333, + 333, 0, 334, 334, 334, 339, 338, 344, 335, 335, + 335, 336, 336, 336, 341, 338, 338, 338, 343, 345, + 345, 345, 342, 346, 353, 341, 341, 341, 348, 339, + 339, 339, 347, 347, 347, 0, 344, 342, 342, 342, + 351, 343, 343, 343, 349, 349, 349, 350, 350, 350, + 0, 0, 346, 353, 352, 354, 348, 355, 356, 344, + 344, 344, 0, 358, 348, 348, 348, 0, 0, 351, + 357, 357, 357, 361, 361, 361, 353, 353, 353, 346, - 353, 354, 354, 354, 355, 0, 349, 356, 358, 358, - 358, 360, 360, 360, 0, 350, 0, 0, 348, 348, - 348, 349, 349, 349, 351, 361, 361, 361, 352, 353, - 357, 363, 355, 364, 357, 356, 359, 0, 350, 350, - 350, 355, 355, 355, 356, 356, 356, 351, 351, 351, - 362, 362, 362, 352, 352, 352, 353, 353, 353, 357, - 363, 364, 0, 357, 367, 359, 365, 366, 366, 366, - 368, 369, 369, 369, 374, 0, 364, 364, 364, 363, - 363, 363, 370, 370, 370, 371, 357, 357, 357, 372, - 359, 359, 359, 367, 365, 373, 0, 375, 368, 376, + 346, 346, 352, 0, 354, 0, 355, 356, 0, 359, + 362, 358, 0, 0, 351, 351, 351, 352, 352, 352, + 358, 358, 358, 363, 363, 363, 360, 354, 354, 354, + 360, 355, 355, 355, 356, 356, 356, 359, 366, 362, + 364, 364, 364, 365, 365, 365, 359, 359, 359, 367, + 370, 0, 368, 371, 0, 360, 369, 369, 369, 360, + 372, 372, 372, 0, 362, 362, 362, 366, 373, 373, + 373, 0, 0, 374, 375, 0, 0, 367, 0, 370, + 368, 371, 360, 360, 360, 376, 366, 366, 366, 368, + 368, 368, 367, 367, 367, 0, 0, 377, 371, 371, - 376, 376, 374, 365, 365, 365, 374, 374, 374, 380, - 380, 380, 0, 371, 0, 368, 368, 368, 372, 377, - 367, 367, 367, 378, 373, 375, 379, 381, 381, 381, - 371, 371, 371, 382, 384, 384, 384, 372, 372, 372, - 375, 375, 375, 373, 373, 373, 383, 0, 377, 385, - 385, 385, 378, 0, 0, 379, 387, 386, 389, 389, - 389, 0, 382, 390, 390, 390, 0, 0, 388, 393, - 0, 377, 377, 377, 0, 383, 396, 378, 378, 378, - 379, 379, 379, 392, 387, 386, 391, 391, 391, 382, - 382, 382, 0, 387, 387, 387, 388, 394, 393, 383, + 371, 374, 0, 375, 378, 0, 370, 370, 370, 379, + 379, 379, 380, 381, 376, 0, 383, 0, 374, 374, + 374, 0, 375, 375, 375, 377, 382, 386, 0, 377, + 377, 377, 378, 376, 376, 376, 384, 384, 384, 0, + 0, 380, 381, 0, 387, 383, 0, 378, 378, 378, + 385, 385, 385, 392, 0, 382, 386, 388, 388, 388, + 389, 389, 389, 390, 380, 380, 380, 381, 381, 381, + 383, 383, 383, 387, 382, 382, 382, 391, 393, 393, + 393, 392, 397, 386, 386, 386, 394, 394, 394, 396, + 398, 390, 392, 392, 392, 0, 400, 387, 387, 387, - 383, 383, 386, 386, 386, 396, 397, 388, 388, 388, - 398, 392, 395, 395, 395, 0, 0, 393, 393, 393, - 392, 392, 392, 399, 401, 0, 394, 394, 394, 0, - 0, 396, 396, 396, 402, 397, 403, 0, 398, 400, - 400, 400, 404, 404, 404, 0, 405, 398, 398, 398, - 408, 399, 406, 401, 407, 407, 407, 0, 0, 397, - 397, 397, 402, 410, 403, 411, 399, 399, 399, 413, - 0, 402, 402, 402, 405, 412, 401, 401, 401, 408, - 406, 403, 403, 403, 409, 409, 409, 0, 405, 405, - 405, 410, 418, 411, 0, 406, 406, 406, 413, 416, + 395, 395, 395, 0, 401, 391, 402, 0, 390, 390, + 390, 397, 405, 0, 391, 391, 391, 396, 403, 398, + 398, 398, 399, 399, 399, 400, 396, 396, 396, 0, + 397, 397, 397, 401, 402, 404, 404, 404, 0, 406, + 407, 405, 0, 402, 402, 402, 403, 408, 408, 408, + 412, 400, 400, 400, 409, 414, 410, 401, 401, 401, + 418, 403, 403, 403, 405, 405, 405, 406, 407, 411, + 411, 411, 413, 413, 413, 415, 406, 406, 406, 412, + 416, 0, 409, 414, 410, 407, 407, 407, 0, 418, + 0, 0, 414, 414, 414, 417, 409, 409, 409, 410, - 410, 410, 410, 412, 408, 408, 408, 414, 414, 414, - 0, 411, 411, 411, 412, 412, 412, 415, 415, 415, - 418, 413, 413, 413, 417, 417, 417, 419, 416, 420, - 421, 421, 421, 423, 424, 418, 418, 418, 422, 422, - 422, 425, 0, 419, 0, 426, 430, 430, 430, 0, - 0, 416, 416, 416, 0, 0, 419, 420, 427, 0, - 0, 428, 423, 424, 431, 431, 431, 429, 0, 433, - 425, 419, 432, 426, 420, 420, 420, 426, 426, 426, - 419, 419, 419, 423, 423, 423, 427, 424, 424, 424, - 428, 0, 0, 425, 425, 425, 429, 434, 433, 435, + 410, 410, 421, 415, 412, 412, 412, 0, 416, 419, + 419, 419, 418, 418, 418, 420, 420, 420, 415, 415, + 415, 423, 0, 417, 424, 0, 416, 416, 416, 425, + 428, 421, 429, 0, 417, 417, 417, 422, 422, 422, + 424, 426, 426, 426, 427, 427, 427, 0, 0, 423, + 435, 435, 435, 424, 421, 421, 421, 425, 0, 428, + 430, 429, 431, 432, 423, 423, 423, 0, 424, 433, + 434, 437, 437, 437, 425, 425, 425, 424, 424, 424, + 428, 428, 428, 0, 0, 429, 429, 429, 436, 430, + 431, 432, 0, 0, 431, 431, 431, 438, 433, 434, - 432, 427, 427, 427, 432, 432, 432, 439, 439, 439, - 436, 428, 428, 428, 0, 437, 0, 438, 0, 429, - 429, 429, 433, 433, 433, 434, 0, 435, 440, 440, - 440, 441, 441, 441, 445, 0, 435, 435, 435, 436, - 0, 434, 434, 434, 437, 0, 438, 442, 442, 442, - 443, 443, 443, 444, 444, 444, 446, 446, 446, 447, - 447, 447, 445, 437, 437, 437, 436, 436, 436, 438, - 438, 438, 445, 445, 445, 448, 449, 449, 449, 450, - 451, 452, 452, 452, 453, 453, 453, 454, 0, 0, - 455, 0, 463, 456, 458, 458, 458, 460, 460, 460, + 440, 0, 0, 439, 442, 0, 432, 432, 432, 445, + 445, 445, 430, 430, 430, 441, 0, 436, 443, 433, + 433, 433, 434, 434, 434, 438, 444, 0, 440, 438, + 438, 438, 439, 442, 446, 446, 446, 0, 436, 436, + 436, 0, 0, 441, 440, 440, 440, 443, 447, 447, + 447, 0, 441, 441, 441, 444, 439, 439, 439, 451, + 442, 442, 442, 448, 448, 448, 443, 443, 443, 449, + 449, 449, 450, 450, 450, 452, 452, 452, 444, 444, + 444, 453, 453, 453, 454, 454, 454, 451, 455, 456, + 456, 456, 457, 458, 459, 459, 459, 451, 451, 451, - 465, 465, 465, 0, 448, 0, 462, 450, 451, 0, - 0, 457, 0, 459, 0, 454, 450, 450, 450, 455, - 463, 0, 456, 0, 451, 451, 451, 448, 448, 448, - 454, 454, 454, 461, 0, 462, 463, 463, 463, 457, - 464, 459, 455, 455, 455, 456, 456, 456, 457, 457, - 457, 459, 459, 459, 0, 0, 0, 0, 0, 0, - 0, 461, 462, 462, 462, 0, 0, 0, 464, 0, - 461, 461, 461, 0, 0, 0, 0, 0, 0, 0, - 0, 464, 464, 464, 467, 0, 467, 467, 467, 467, - 467, 468, 0, 468, 468, 468, 468, 468, 469, 469, + 460, 460, 460, 0, 461, 462, 0, 464, 465, 465, + 465, 467, 467, 467, 463, 0, 0, 455, 0, 0, + 457, 458, 466, 469, 0, 470, 468, 0, 0, 457, + 457, 457, 461, 0, 462, 464, 0, 458, 458, 458, + 455, 455, 455, 463, 464, 464, 464, 461, 461, 461, + 466, 0, 469, 470, 468, 471, 0, 462, 462, 462, + 466, 466, 466, 468, 468, 468, 463, 463, 463, 470, + 470, 470, 472, 472, 472, 0, 0, 0, 0, 469, + 469, 469, 0, 471, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 471, 471, 471, 474, - 470, 470, 470, 470, 471, 0, 471, 471, 471, 471, - 471, 472, 0, 472, 472, 472, 472, 472, 473, 473, - 474, 474, 474, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, - 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, + 0, 474, 474, 474, 474, 474, 475, 0, 475, 475, + 475, 475, 475, 476, 476, 477, 477, 477, 477, 478, + 0, 478, 478, 478, 478, 478, 479, 0, 479, 479, + 479, 479, 479, 480, 480, 481, 481, 481, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - 466, 466, 466, 466, 466, 466, 466, 466 + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, + 473, 473, 473 } ; -static const flex_int16_t yy_rule_linenum[123] = +static const flex_int16_t yy_rule_linenum[124] = { 0, 80, 81, 83, 89, 113, 114, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, @@ -1211,12 +1218,12 @@ static const flex_int16_t yy_rule_linenum[123] = 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, - 190, 191, 192, 193, 194, 195, 196, 197, 199, 200, - 201, 202, 203, 204, 205, 206, 207, 209, 210, 211, + 190, 191, 192, 193, 194, 195, 196, 197, 198, 200, + 201, 202, 203, 204, 205, 206, 207, 208, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, - 232, 234 + 232, 233, 235 } ; /* The intent behind this definition is that it'll catch @@ -1231,7 +1238,7 @@ static const flex_int16_t yy_rule_linenum[123] = #include #include "ParserDriver.h" #include "sqlite3_parser.hpp" -#line 1235 "sqlite3_lexer.cpp" +#line 1242 "sqlite3_lexer.cpp" #define YY_NO_UNISTD_H 1 #line 12 "sqlite3_lexer.ll" #define TOKEN(n) sqlb::parser::parser::symbol_type(sqlb::parser::parser::token::TOK_##n, yytext, loc) @@ -1257,14 +1264,14 @@ static const flex_int16_t yy_rule_linenum[123] = return s; } -#line 1261 "sqlite3_lexer.cpp" +#line 1268 "sqlite3_lexer.cpp" #line 55 "sqlite3_lexer.ll" /* TODO Add $ bind parameters */ // Code run each time a pattern is matched. #define YY_USER_ACTION loc.columns(yyleng); -#line 1266 "sqlite3_lexer.cpp" +#line 1273 "sqlite3_lexer.cpp" -#line 1268 "sqlite3_lexer.cpp" +#line 1275 "sqlite3_lexer.cpp" #define INITIAL 0 #define BETWEEN_MODE 1 @@ -1602,7 +1609,7 @@ YY_DECL loc.step(); -#line 1606 "sqlite3_lexer.cpp" +#line 1613 "sqlite3_lexer.cpp" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1631,13 +1638,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 467 ) + if ( yy_current_state >= 474 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } - while ( yy_current_state != 466 ); + while ( yy_current_state != 473 ); yy_cp = yyg->yy_last_accepting_cpos; yy_current_state = yyg->yy_last_accepting_state; @@ -1656,13 +1663,13 @@ do_action: /* This label is used only to access EOF actions. */ { if ( yy_act == 0 ) fprintf( stderr, "--scanner backing up\n" ); - else if ( yy_act < 123 ) + else if ( yy_act < 124 ) fprintf( stderr, "--accepting rule at line %ld (\"%s\")\n", (long)yy_rule_linenum[yy_act], yytext ); - else if ( yy_act == 123 ) + else if ( yy_act == 124 ) fprintf( stderr, "--accepting default rule (\"%s\")\n", yytext ); - else if ( yy_act == 124 ) + else if ( yy_act == 125 ) fprintf( stderr, "--(end of buffer or a NUL)\n" ); else fprintf( stderr, "--EOF (start condition %d)\n", YY_START ); @@ -2053,137 +2060,137 @@ return TOKEN(RESTRICT); case 70: YY_RULE_SETUP #line 179 "sqlite3_lexer.ll" -return TOKEN(ROLLBACK); +return TOKEN(RETURNING); YY_BREAK case 71: YY_RULE_SETUP #line 180 "sqlite3_lexer.ll" -return TOKEN(ROWID); +return TOKEN(ROLLBACK); YY_BREAK case 72: YY_RULE_SETUP #line 181 "sqlite3_lexer.ll" -return TOKEN(ROWS); +return TOKEN(ROWID); YY_BREAK case 73: YY_RULE_SETUP #line 182 "sqlite3_lexer.ll" -return TOKEN(SELECT); +return TOKEN(ROWS); YY_BREAK case 74: YY_RULE_SETUP #line 183 "sqlite3_lexer.ll" -return TOKEN(SET); +return TOKEN(SELECT); YY_BREAK case 75: YY_RULE_SETUP #line 184 "sqlite3_lexer.ll" -return TOKEN(STORED); +return TOKEN(SET); YY_BREAK case 76: YY_RULE_SETUP #line 185 "sqlite3_lexer.ll" -return TOKEN(TABLE); +return TOKEN(STORED); YY_BREAK case 77: YY_RULE_SETUP #line 186 "sqlite3_lexer.ll" -return TOKEN(TEMP); +return TOKEN(TABLE); YY_BREAK case 78: YY_RULE_SETUP #line 187 "sqlite3_lexer.ll" -return TOKEN(TEMPORARY); +return TOKEN(TEMP); YY_BREAK case 79: YY_RULE_SETUP #line 188 "sqlite3_lexer.ll" -return TOKEN(THEN); +return TOKEN(TEMPORARY); YY_BREAK case 80: YY_RULE_SETUP #line 189 "sqlite3_lexer.ll" -return TOKEN(TRUE); +return TOKEN(THEN); YY_BREAK case 81: YY_RULE_SETUP #line 190 "sqlite3_lexer.ll" -return TOKEN(UNBOUNDED); +return TOKEN(TRUE); YY_BREAK case 82: YY_RULE_SETUP #line 191 "sqlite3_lexer.ll" -return TOKEN(UNIQUE); +return TOKEN(UNBOUNDED); YY_BREAK case 83: YY_RULE_SETUP #line 192 "sqlite3_lexer.ll" -return TOKEN(UPDATE); +return TOKEN(UNIQUE); YY_BREAK case 84: YY_RULE_SETUP #line 193 "sqlite3_lexer.ll" -return TOKEN(USING); +return TOKEN(UPDATE); YY_BREAK case 85: YY_RULE_SETUP #line 194 "sqlite3_lexer.ll" -return TOKEN(VIRTUAL); +return TOKEN(USING); YY_BREAK case 86: YY_RULE_SETUP #line 195 "sqlite3_lexer.ll" -return TOKEN(WHEN); +return TOKEN(VIRTUAL); YY_BREAK case 87: YY_RULE_SETUP #line 196 "sqlite3_lexer.ll" -return TOKEN(WHERE); +return TOKEN(WHEN); YY_BREAK case 88: YY_RULE_SETUP #line 197 "sqlite3_lexer.ll" -return TOKEN(WITHOUT); +return TOKEN(WHERE); YY_BREAK case 89: YY_RULE_SETUP -#line 199 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_IDENTIFIER(yytext, loc); +#line 198 "sqlite3_lexer.ll" +return TOKEN(WITHOUT); YY_BREAK case 90: YY_RULE_SETUP #line 200 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_IDENTIFIER(unquote_string(yytext, '`'), loc); +return sqlb::parser::parser::make_IDENTIFIER(yytext, loc); YY_BREAK case 91: YY_RULE_SETUP #line 201 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_IDENTIFIER(unquote_string(yytext, '['), loc); +return sqlb::parser::parser::make_IDENTIFIER(unquote_string(yytext, '`'), loc); YY_BREAK case 92: YY_RULE_SETUP #line 202 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_QUOTEDLITERAL(unquote_string(yytext, '"'), loc); +return sqlb::parser::parser::make_IDENTIFIER(unquote_string(yytext, '['), loc); YY_BREAK case 93: YY_RULE_SETUP #line 203 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_STRINGLITERAL(yytext, loc); +return sqlb::parser::parser::make_QUOTEDLITERAL(unquote_string(yytext, '"'), loc); YY_BREAK case 94: YY_RULE_SETUP #line 204 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_NUMERIC(yytext, loc); +return sqlb::parser::parser::make_STRINGLITERAL(yytext, loc); YY_BREAK case 95: YY_RULE_SETUP #line 205 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_BLOBLITERAL(yytext, loc); +return sqlb::parser::parser::make_NUMERIC(yytext, loc); YY_BREAK case 96: YY_RULE_SETUP #line 206 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_BINDPARAMETER(yytext, loc); +return sqlb::parser::parser::make_BLOBLITERAL(yytext, loc); YY_BREAK case 97: YY_RULE_SETUP @@ -2192,140 +2199,145 @@ return sqlb::parser::parser::make_BINDPARAMETER(yytext, loc); YY_BREAK case 98: YY_RULE_SETUP -#line 209 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_LPAREN(loc); +#line 208 "sqlite3_lexer.ll" +return sqlb::parser::parser::make_BINDPARAMETER(yytext, loc); YY_BREAK case 99: YY_RULE_SETUP #line 210 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_RPAREN(loc); +return sqlb::parser::parser::make_LPAREN(loc); YY_BREAK case 100: YY_RULE_SETUP #line 211 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_DOT(loc); +return sqlb::parser::parser::make_RPAREN(loc); YY_BREAK case 101: YY_RULE_SETUP #line 212 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_COMMA(loc); +return sqlb::parser::parser::make_DOT(loc); YY_BREAK case 102: YY_RULE_SETUP #line 213 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_SEMI(loc); +return sqlb::parser::parser::make_COMMA(loc); YY_BREAK case 103: YY_RULE_SETUP #line 214 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_PLUS(loc); +return sqlb::parser::parser::make_SEMI(loc); YY_BREAK case 104: YY_RULE_SETUP #line 215 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_MINUS(loc); +return sqlb::parser::parser::make_PLUS(loc); YY_BREAK case 105: YY_RULE_SETUP #line 216 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_STAR(loc); +return sqlb::parser::parser::make_MINUS(loc); YY_BREAK case 106: YY_RULE_SETUP #line 217 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_SLASH(loc); +return sqlb::parser::parser::make_STAR(loc); YY_BREAK case 107: YY_RULE_SETUP #line 218 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_TILDE(loc); +return sqlb::parser::parser::make_SLASH(loc); YY_BREAK case 108: YY_RULE_SETUP #line 219 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_AMPERSAND(loc); +return sqlb::parser::parser::make_TILDE(loc); YY_BREAK case 109: YY_RULE_SETUP #line 220 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_PERCENT(loc); +return sqlb::parser::parser::make_AMPERSAND(loc); YY_BREAK case 110: YY_RULE_SETUP #line 221 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_BITOR(loc); +return sqlb::parser::parser::make_PERCENT(loc); YY_BREAK case 111: YY_RULE_SETUP #line 222 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_OROP(loc); +return sqlb::parser::parser::make_BITOR(loc); YY_BREAK case 112: YY_RULE_SETUP #line 223 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_EQUAL(loc); +return sqlb::parser::parser::make_OROP(loc); YY_BREAK case 113: YY_RULE_SETUP #line 224 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_EQUAL2(loc); +return sqlb::parser::parser::make_EQUAL(loc); YY_BREAK case 114: YY_RULE_SETUP #line 225 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_GREATER(loc); +return sqlb::parser::parser::make_EQUAL2(loc); YY_BREAK case 115: YY_RULE_SETUP #line 226 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_GREATEREQUAL(loc); +return sqlb::parser::parser::make_GREATER(loc); YY_BREAK case 116: YY_RULE_SETUP #line 227 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_LOWER(loc); +return sqlb::parser::parser::make_GREATEREQUAL(loc); YY_BREAK case 117: YY_RULE_SETUP #line 228 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_LOWEREQUAL(loc); +return sqlb::parser::parser::make_LOWER(loc); YY_BREAK case 118: YY_RULE_SETUP #line 229 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_UNEQUAL(loc); +return sqlb::parser::parser::make_LOWEREQUAL(loc); YY_BREAK case 119: YY_RULE_SETUP #line 230 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_UNEQUAL2(loc); +return sqlb::parser::parser::make_UNEQUAL(loc); YY_BREAK case 120: YY_RULE_SETUP #line 231 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_BITWISELEFT(loc); +return sqlb::parser::parser::make_UNEQUAL2(loc); YY_BREAK case 121: YY_RULE_SETUP #line 232 "sqlite3_lexer.ll" -return sqlb::parser::parser::make_BITWISERIGHT(loc); +return sqlb::parser::parser::make_BITWISELEFT(loc); YY_BREAK case 122: YY_RULE_SETUP -#line 234 "sqlite3_lexer.ll" +#line 233 "sqlite3_lexer.ll" +return sqlb::parser::parser::make_BITWISERIGHT(loc); + YY_BREAK +case 123: +YY_RULE_SETUP +#line 235 "sqlite3_lexer.ll" throw sqlb::parser::parser::syntax_error(loc, "Invalid character: " + std::string(yytext)); YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(BETWEEN_MODE): -#line 236 "sqlite3_lexer.ll" +#line 237 "sqlite3_lexer.ll" return sqlb::parser::parser::make_EOF(loc); YY_BREAK -case 123: +case 124: YY_RULE_SETUP -#line 238 "sqlite3_lexer.ll" +#line 239 "sqlite3_lexer.ll" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 2329 "sqlite3_lexer.cpp" +#line 2341 "sqlite3_lexer.cpp" case YY_END_OF_BUFFER: { @@ -2646,7 +2658,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 467 ) + if ( yy_current_state >= 474 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; @@ -2680,11 +2692,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 467 ) + if ( yy_current_state >= 474 ) yy_c = yy_meta[yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; - yy_is_jam = (yy_current_state == 466); + yy_is_jam = (yy_current_state == 473); (void)yyg; return yy_is_jam ? 0 : yy_current_state; @@ -3596,7 +3608,7 @@ void yyfree (void * ptr , yyscan_t yyscanner) /* %ok-for-header */ -#line 238 "sqlite3_lexer.ll" +#line 239 "sqlite3_lexer.ll" namespace sqlb diff --git a/src/sql/parser/sqlite3_lexer.h b/src/sql/parser/sqlite3_lexer.h index 88d59cf8..3d658e9a 100644 --- a/src/sql/parser/sqlite3_lexer.h +++ b/src/sql/parser/sqlite3_lexer.h @@ -602,7 +602,7 @@ extern int yylex (yyscan_t yyscanner); #undef yyTABLES_NAME #endif -#line 238 "sqlite3_lexer.ll" +#line 239 "sqlite3_lexer.ll" #line 609 "sqlite3_lexer.h" diff --git a/src/sql/parser/sqlite3_lexer.ll b/src/sql/parser/sqlite3_lexer.ll index 6c524871..4f2e4278 100644 --- a/src/sql/parser/sqlite3_lexer.ll +++ b/src/sql/parser/sqlite3_lexer.ll @@ -175,6 +175,7 @@ WS [ \t\f] "REGEXP" return TOKEN(REGEXP); "REPLACE" return TOKEN(REPLACE); "RESTRICT" return TOKEN(RESTRICT); +"RETURNING" return TOKEN(RETURNING); "ROLLBACK" return TOKEN(ROLLBACK); "ROWID" return TOKEN(ROWID); "ROWS" return TOKEN(ROWS); diff --git a/src/sql/parser/sqlite3_parser.cpp b/src/sql/parser/sqlite3_parser.cpp index b682c0e3..b719bece 100644 --- a/src/sql/parser/sqlite3_parser.cpp +++ b/src/sql/parser/sqlite3_parser.cpp @@ -344,6 +344,7 @@ namespace sqlb { namespace parser { case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -534,6 +535,7 @@ namespace sqlb { namespace parser { case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -724,6 +726,7 @@ namespace sqlb { namespace parser { case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -913,6 +916,7 @@ namespace sqlb { namespace parser { case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -1347,6 +1351,7 @@ namespace sqlb { namespace parser { case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -1433,1111 +1438,1117 @@ namespace sqlb { namespace parser { switch (yyn) { case 4: // statement: createindex_stmt -#line 267 "sqlite3_parser.yy" +#line 268 "sqlite3_parser.yy" { drv.result = yystack_[0].value.as < sqlb::IndexPtr > (); } -#line 1439 "sqlite3_parser.cpp" +#line 1444 "sqlite3_parser.cpp" break; case 5: // statement: createvirtualtable_stmt -#line 268 "sqlite3_parser.yy" +#line 269 "sqlite3_parser.yy" { drv.result = yystack_[0].value.as < sqlb::TablePtr > (); } -#line 1445 "sqlite3_parser.cpp" +#line 1450 "sqlite3_parser.cpp" break; case 6: // statement: createtable_stmt -#line 269 "sqlite3_parser.yy" +#line 270 "sqlite3_parser.yy" { drv.result = yystack_[0].value.as < sqlb::TablePtr > (); } -#line 1451 "sqlite3_parser.cpp" +#line 1456 "sqlite3_parser.cpp" break; case 7: // literalvalue: "numeric" -#line 277 "sqlite3_parser.yy" +#line 278 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1457 "sqlite3_parser.cpp" +#line 1462 "sqlite3_parser.cpp" break; case 8: // literalvalue: "string literal" -#line 278 "sqlite3_parser.yy" +#line 279 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1463 "sqlite3_parser.cpp" +#line 1468 "sqlite3_parser.cpp" break; case 9: // literalvalue: "blob literal" -#line 279 "sqlite3_parser.yy" +#line 280 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1469 "sqlite3_parser.cpp" +#line 1474 "sqlite3_parser.cpp" break; case 10: // literalvalue: "NULL" -#line 280 "sqlite3_parser.yy" +#line 281 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1475 "sqlite3_parser.cpp" +#line 1480 "sqlite3_parser.cpp" break; case 11: // literalvalue: "TRUE" -#line 281 "sqlite3_parser.yy" +#line 282 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1481 "sqlite3_parser.cpp" +#line 1486 "sqlite3_parser.cpp" break; case 12: // literalvalue: "FALSE" -#line 282 "sqlite3_parser.yy" +#line 283 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1487 "sqlite3_parser.cpp" +#line 1492 "sqlite3_parser.cpp" break; case 13: // literalvalue: "CURRENT_TIME" -#line 283 "sqlite3_parser.yy" +#line 284 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1493 "sqlite3_parser.cpp" +#line 1498 "sqlite3_parser.cpp" break; case 14: // literalvalue: "CURRENT_DATE" -#line 284 "sqlite3_parser.yy" +#line 285 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1499 "sqlite3_parser.cpp" +#line 1504 "sqlite3_parser.cpp" break; case 15: // literalvalue: "CURRENT_TIMESTAMP" -#line 285 "sqlite3_parser.yy" +#line 286 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1505 "sqlite3_parser.cpp" +#line 1510 "sqlite3_parser.cpp" break; case 16: // id: "identifier" -#line 289 "sqlite3_parser.yy" +#line 290 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1511 "sqlite3_parser.cpp" +#line 1516 "sqlite3_parser.cpp" break; case 17: // id: "quoted literal" -#line 290 "sqlite3_parser.yy" +#line 291 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1517 "sqlite3_parser.cpp" +#line 1522 "sqlite3_parser.cpp" break; case 18: // allowed_keywords_as_identifier: "ABORT" -#line 295 "sqlite3_parser.yy" +#line 296 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1523 "sqlite3_parser.cpp" +#line 1528 "sqlite3_parser.cpp" break; case 19: // allowed_keywords_as_identifier: "ACTION" -#line 296 "sqlite3_parser.yy" +#line 297 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1529 "sqlite3_parser.cpp" +#line 1534 "sqlite3_parser.cpp" break; case 20: // allowed_keywords_as_identifier: "ALWAYS" -#line 297 "sqlite3_parser.yy" +#line 298 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1535 "sqlite3_parser.cpp" +#line 1540 "sqlite3_parser.cpp" break; case 21: // allowed_keywords_as_identifier: "ASC" -#line 298 "sqlite3_parser.yy" +#line 299 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1541 "sqlite3_parser.cpp" +#line 1546 "sqlite3_parser.cpp" break; case 22: // allowed_keywords_as_identifier: "CASCADE" -#line 299 "sqlite3_parser.yy" +#line 300 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1547 "sqlite3_parser.cpp" +#line 1552 "sqlite3_parser.cpp" break; case 23: // allowed_keywords_as_identifier: "CAST" -#line 300 "sqlite3_parser.yy" +#line 301 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1553 "sqlite3_parser.cpp" +#line 1558 "sqlite3_parser.cpp" break; case 24: // allowed_keywords_as_identifier: "CONFLICT" -#line 301 "sqlite3_parser.yy" +#line 302 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1559 "sqlite3_parser.cpp" +#line 1564 "sqlite3_parser.cpp" break; case 25: // allowed_keywords_as_identifier: "DEFERRED" -#line 302 "sqlite3_parser.yy" +#line 303 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1565 "sqlite3_parser.cpp" +#line 1570 "sqlite3_parser.cpp" break; case 26: // allowed_keywords_as_identifier: "DESC" -#line 303 "sqlite3_parser.yy" +#line 304 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1571 "sqlite3_parser.cpp" +#line 1576 "sqlite3_parser.cpp" break; case 27: // allowed_keywords_as_identifier: "END" -#line 304 "sqlite3_parser.yy" +#line 305 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1577 "sqlite3_parser.cpp" +#line 1582 "sqlite3_parser.cpp" break; case 28: // allowed_keywords_as_identifier: "FAIL" -#line 305 "sqlite3_parser.yy" +#line 306 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1583 "sqlite3_parser.cpp" +#line 1588 "sqlite3_parser.cpp" break; case 29: // allowed_keywords_as_identifier: "FILTER" -#line 306 "sqlite3_parser.yy" +#line 307 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1589 "sqlite3_parser.cpp" +#line 1594 "sqlite3_parser.cpp" break; case 30: // allowed_keywords_as_identifier: "FOLLOWING" -#line 307 "sqlite3_parser.yy" +#line 308 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1595 "sqlite3_parser.cpp" +#line 1600 "sqlite3_parser.cpp" break; case 31: // allowed_keywords_as_identifier: "GENERATED" -#line 308 "sqlite3_parser.yy" +#line 309 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1601 "sqlite3_parser.cpp" +#line 1606 "sqlite3_parser.cpp" break; case 32: // allowed_keywords_as_identifier: "GLOB" -#line 309 "sqlite3_parser.yy" +#line 310 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1607 "sqlite3_parser.cpp" +#line 1612 "sqlite3_parser.cpp" break; case 33: // allowed_keywords_as_identifier: "KEY" -#line 310 "sqlite3_parser.yy" +#line 311 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1613 "sqlite3_parser.cpp" +#line 1618 "sqlite3_parser.cpp" break; case 34: // allowed_keywords_as_identifier: "LIKE" -#line 311 "sqlite3_parser.yy" +#line 312 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1619 "sqlite3_parser.cpp" +#line 1624 "sqlite3_parser.cpp" break; case 35: // allowed_keywords_as_identifier: "IGNORE" -#line 312 "sqlite3_parser.yy" +#line 313 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1625 "sqlite3_parser.cpp" +#line 1630 "sqlite3_parser.cpp" break; case 36: // allowed_keywords_as_identifier: "INITIALLY" -#line 313 "sqlite3_parser.yy" +#line 314 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1631 "sqlite3_parser.cpp" +#line 1636 "sqlite3_parser.cpp" break; case 37: // allowed_keywords_as_identifier: "IMMEDIATE" -#line 314 "sqlite3_parser.yy" +#line 315 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1637 "sqlite3_parser.cpp" +#line 1642 "sqlite3_parser.cpp" break; case 38: // allowed_keywords_as_identifier: "MATCH" -#line 315 "sqlite3_parser.yy" +#line 316 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1643 "sqlite3_parser.cpp" +#line 1648 "sqlite3_parser.cpp" break; case 39: // allowed_keywords_as_identifier: "NO" -#line 316 "sqlite3_parser.yy" +#line 317 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1649 "sqlite3_parser.cpp" +#line 1654 "sqlite3_parser.cpp" break; case 40: // allowed_keywords_as_identifier: "OVER" -#line 317 "sqlite3_parser.yy" +#line 318 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1655 "sqlite3_parser.cpp" +#line 1660 "sqlite3_parser.cpp" break; case 41: // allowed_keywords_as_identifier: "PARTITION" -#line 318 "sqlite3_parser.yy" +#line 319 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1661 "sqlite3_parser.cpp" +#line 1666 "sqlite3_parser.cpp" break; case 42: // allowed_keywords_as_identifier: "PRECEDING" -#line 319 "sqlite3_parser.yy" +#line 320 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1667 "sqlite3_parser.cpp" +#line 1672 "sqlite3_parser.cpp" break; case 43: // allowed_keywords_as_identifier: "RAISE" -#line 320 "sqlite3_parser.yy" +#line 321 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1673 "sqlite3_parser.cpp" +#line 1678 "sqlite3_parser.cpp" break; case 44: // allowed_keywords_as_identifier: "RANGE" -#line 321 "sqlite3_parser.yy" +#line 322 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1679 "sqlite3_parser.cpp" +#line 1684 "sqlite3_parser.cpp" break; case 45: // allowed_keywords_as_identifier: "REGEXP" -#line 322 "sqlite3_parser.yy" +#line 323 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1685 "sqlite3_parser.cpp" +#line 1690 "sqlite3_parser.cpp" break; case 46: // allowed_keywords_as_identifier: "REPLACE" -#line 323 "sqlite3_parser.yy" +#line 324 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1691 "sqlite3_parser.cpp" +#line 1696 "sqlite3_parser.cpp" break; case 47: // allowed_keywords_as_identifier: "RESTRICT" -#line 324 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1697 "sqlite3_parser.cpp" - break; - - case 48: // allowed_keywords_as_identifier: "ROLLBACK" #line 325 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1703 "sqlite3_parser.cpp" +#line 1702 "sqlite3_parser.cpp" break; - case 49: // allowed_keywords_as_identifier: "ROWID" + case 48: // allowed_keywords_as_identifier: "RETURNING" #line 326 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1709 "sqlite3_parser.cpp" +#line 1708 "sqlite3_parser.cpp" break; - case 50: // allowed_keywords_as_identifier: "ROWS" + case 49: // allowed_keywords_as_identifier: "ROLLBACK" #line 327 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1715 "sqlite3_parser.cpp" +#line 1714 "sqlite3_parser.cpp" break; - case 51: // allowed_keywords_as_identifier: "STORED" + case 50: // allowed_keywords_as_identifier: "ROWID" #line 328 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1721 "sqlite3_parser.cpp" +#line 1720 "sqlite3_parser.cpp" break; - case 52: // allowed_keywords_as_identifier: "TEMPORARY" + case 51: // allowed_keywords_as_identifier: "ROWS" #line 329 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1727 "sqlite3_parser.cpp" +#line 1726 "sqlite3_parser.cpp" break; - case 53: // allowed_keywords_as_identifier: "TEMP" + case 52: // allowed_keywords_as_identifier: "STORED" #line 330 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1733 "sqlite3_parser.cpp" +#line 1732 "sqlite3_parser.cpp" break; - case 54: // allowed_keywords_as_identifier: "UNBOUNDED" + case 53: // allowed_keywords_as_identifier: "TEMPORARY" #line 331 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1739 "sqlite3_parser.cpp" +#line 1738 "sqlite3_parser.cpp" break; - case 55: // allowed_keywords_as_identifier: "VIRTUAL" + case 54: // allowed_keywords_as_identifier: "TEMP" #line 332 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1745 "sqlite3_parser.cpp" +#line 1744 "sqlite3_parser.cpp" break; - case 56: // allowed_keywords_as_identifier: "WITHOUT" + case 55: // allowed_keywords_as_identifier: "UNBOUNDED" #line 333 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1751 "sqlite3_parser.cpp" +#line 1750 "sqlite3_parser.cpp" break; - case 57: // tableid: allowed_keywords_as_identifier -#line 337 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1757 "sqlite3_parser.cpp" - break; - - case 58: // tableid: "CURRENT_TIME" -#line 338 "sqlite3_parser.yy" + case 56: // allowed_keywords_as_identifier: "VIRTUAL" +#line 334 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1763 "sqlite3_parser.cpp" +#line 1756 "sqlite3_parser.cpp" break; - case 59: // tableid: "CURRENT_DATE" + case 57: // allowed_keywords_as_identifier: "WITHOUT" +#line 335 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1762 "sqlite3_parser.cpp" + break; + + case 58: // tableid: allowed_keywords_as_identifier #line 339 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1769 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1768 "sqlite3_parser.cpp" break; - case 60: // tableid: "CURRENT_TIMESTAMP" + case 59: // tableid: "CURRENT_TIME" #line 340 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1775 "sqlite3_parser.cpp" +#line 1774 "sqlite3_parser.cpp" break; - case 61: // tableid: id + case 60: // tableid: "CURRENT_DATE" #line 341 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1781 "sqlite3_parser.cpp" +#line 1780 "sqlite3_parser.cpp" break; - case 62: // tableid: "string literal" + case 61: // tableid: "CURRENT_TIMESTAMP" #line 342 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1786 "sqlite3_parser.cpp" + break; + + case 62: // tableid: id +#line 343 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1792 "sqlite3_parser.cpp" + break; + + case 63: // tableid: "string literal" +#line 344 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = unquote_text(yystack_[0].value.as < std::string > (), '\''); } -#line 1787 "sqlite3_parser.cpp" +#line 1798 "sqlite3_parser.cpp" break; - case 63: // columnid: allowed_keywords_as_identifier -#line 346 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1793 "sqlite3_parser.cpp" - break; - - case 64: // columnid: "CURRENT_TIME" -#line 347 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1799 "sqlite3_parser.cpp" - break; - - case 65: // columnid: "CURRENT_DATE" + case 64: // columnid: allowed_keywords_as_identifier #line 348 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1805 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1804 "sqlite3_parser.cpp" break; - case 66: // columnid: "CURRENT_TIMESTAMP" + case 65: // columnid: "CURRENT_TIME" #line 349 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1811 "sqlite3_parser.cpp" +#line 1810 "sqlite3_parser.cpp" break; - case 67: // columnid: "IF" + case 66: // columnid: "CURRENT_DATE" #line 350 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1817 "sqlite3_parser.cpp" +#line 1816 "sqlite3_parser.cpp" break; - case 68: // columnid: id + case 67: // columnid: "CURRENT_TIMESTAMP" #line 351 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1823 "sqlite3_parser.cpp" +#line 1822 "sqlite3_parser.cpp" break; - case 69: // columnid: "string literal" + case 68: // columnid: "IF" #line 352 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1828 "sqlite3_parser.cpp" + break; + + case 69: // columnid: id +#line 353 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1834 "sqlite3_parser.cpp" + break; + + case 70: // columnid: "string literal" +#line 354 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = unquote_text(yystack_[0].value.as < std::string > (), '\''); } -#line 1829 "sqlite3_parser.cpp" +#line 1840 "sqlite3_parser.cpp" break; - case 70: // signednumber: "+" "numeric" -#line 356 "sqlite3_parser.yy" + case 71: // signednumber: "+" "numeric" +#line 358 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "+" + yystack_[0].value.as < std::string > (); } -#line 1835 "sqlite3_parser.cpp" +#line 1846 "sqlite3_parser.cpp" break; - case 71: // signednumber: "-" "numeric" -#line 357 "sqlite3_parser.yy" + case 72: // signednumber: "-" "numeric" +#line 359 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "-" + yystack_[0].value.as < std::string > (); } -#line 1841 "sqlite3_parser.cpp" +#line 1852 "sqlite3_parser.cpp" break; - case 72: // signednumber_or_numeric: signednumber -#line 361 "sqlite3_parser.yy" + case 73: // signednumber_or_numeric: signednumber +#line 363 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1847 "sqlite3_parser.cpp" +#line 1858 "sqlite3_parser.cpp" break; - case 73: // signednumber_or_numeric: "numeric" -#line 362 "sqlite3_parser.yy" + case 74: // signednumber_or_numeric: "numeric" +#line 364 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1853 "sqlite3_parser.cpp" +#line 1864 "sqlite3_parser.cpp" break; - case 74: // typename_namelist: tableid -#line 366 "sqlite3_parser.yy" + case 75: // typename_namelist: tableid +#line 368 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1859 "sqlite3_parser.cpp" +#line 1870 "sqlite3_parser.cpp" break; - case 75: // typename_namelist: typename_namelist tableid -#line 367 "sqlite3_parser.yy" + case 76: // typename_namelist: typename_namelist tableid +#line 369 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 1865 "sqlite3_parser.cpp" +#line 1876 "sqlite3_parser.cpp" break; - case 76: // type_name: typename_namelist -#line 371 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 1871 "sqlite3_parser.cpp" - break; - - case 77: // type_name: typename_namelist "(" signednumber_or_numeric ")" -#line 372 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 1877 "sqlite3_parser.cpp" - break; - - case 78: // type_name: typename_namelist "(" signednumber_or_numeric "," signednumber_or_numeric ")" + case 77: // type_name: typename_namelist #line 373 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 1882 "sqlite3_parser.cpp" + break; + + case 78: // type_name: typename_namelist "(" signednumber_or_numeric ")" +#line 374 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } +#line 1888 "sqlite3_parser.cpp" + break; + + case 79: // type_name: typename_namelist "(" signednumber_or_numeric "," signednumber_or_numeric ")" +#line 375 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + "(" + yystack_[3].value.as < std::string > () + ", " + yystack_[1].value.as < std::string > () + ")"; } -#line 1883 "sqlite3_parser.cpp" +#line 1894 "sqlite3_parser.cpp" break; - case 79: // unary_expr: "-" expr -#line 377 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "-" + yystack_[0].value.as < std::string > (); } -#line 1889 "sqlite3_parser.cpp" - break; - - case 80: // unary_expr: "+" expr -#line 378 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "+" + yystack_[0].value.as < std::string > (); } -#line 1895 "sqlite3_parser.cpp" - break; - - case 81: // unary_expr: "~" expr + case 80: // unary_expr: "-" expr #line 379 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "~" + yystack_[0].value.as < std::string > (); } -#line 1901 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = "-" + yystack_[0].value.as < std::string > (); } +#line 1900 "sqlite3_parser.cpp" break; - case 82: // unary_expr: "NOT" expr + case 81: // unary_expr: "+" expr #line 380 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "+" + yystack_[0].value.as < std::string > (); } +#line 1906 "sqlite3_parser.cpp" + break; + + case 82: // unary_expr: "~" expr +#line 381 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "~" + yystack_[0].value.as < std::string > (); } +#line 1912 "sqlite3_parser.cpp" + break; + + case 83: // unary_expr: "NOT" expr +#line 382 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "NOT " + yystack_[0].value.as < std::string > (); } -#line 1907 "sqlite3_parser.cpp" +#line 1918 "sqlite3_parser.cpp" break; - case 83: // binary_expr: expr "||" expr -#line 384 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " || " + yystack_[0].value.as < std::string > (); } -#line 1913 "sqlite3_parser.cpp" - break; - - case 84: // binary_expr: expr "*" expr -#line 385 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " * " + yystack_[0].value.as < std::string > (); } -#line 1919 "sqlite3_parser.cpp" - break; - - case 85: // binary_expr: expr "/" expr + case 84: // binary_expr: expr "||" expr #line 386 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " / " + yystack_[0].value.as < std::string > (); } -#line 1925 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " || " + yystack_[0].value.as < std::string > (); } +#line 1924 "sqlite3_parser.cpp" break; - case 86: // binary_expr: expr "%" expr + case 85: // binary_expr: expr "*" expr #line 387 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " % " + yystack_[0].value.as < std::string > (); } -#line 1931 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " * " + yystack_[0].value.as < std::string > (); } +#line 1930 "sqlite3_parser.cpp" break; - case 87: // binary_expr: expr "+" expr + case 86: // binary_expr: expr "/" expr #line 388 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " + " + yystack_[0].value.as < std::string > (); } -#line 1937 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " / " + yystack_[0].value.as < std::string > (); } +#line 1936 "sqlite3_parser.cpp" break; - case 88: // binary_expr: expr "-" expr + case 87: // binary_expr: expr "%" expr #line 389 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " - " + yystack_[0].value.as < std::string > (); } -#line 1943 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " % " + yystack_[0].value.as < std::string > (); } +#line 1942 "sqlite3_parser.cpp" break; - case 89: // binary_expr: expr "<<" expr + case 88: // binary_expr: expr "+" expr #line 390 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " << " + yystack_[0].value.as < std::string > (); } -#line 1949 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " + " + yystack_[0].value.as < std::string > (); } +#line 1948 "sqlite3_parser.cpp" break; - case 90: // binary_expr: expr ">>" expr + case 89: // binary_expr: expr "-" expr #line 391 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " >> " + yystack_[0].value.as < std::string > (); } -#line 1955 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " - " + yystack_[0].value.as < std::string > (); } +#line 1954 "sqlite3_parser.cpp" break; - case 91: // binary_expr: expr "&" expr + case 90: // binary_expr: expr "<<" expr #line 392 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " & " + yystack_[0].value.as < std::string > (); } -#line 1961 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " << " + yystack_[0].value.as < std::string > (); } +#line 1960 "sqlite3_parser.cpp" break; - case 92: // binary_expr: expr "|" expr + case 91: // binary_expr: expr ">>" expr #line 393 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " | " + yystack_[0].value.as < std::string > (); } -#line 1967 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " >> " + yystack_[0].value.as < std::string > (); } +#line 1966 "sqlite3_parser.cpp" break; - case 93: // binary_expr: expr "<" expr + case 92: // binary_expr: expr "&" expr #line 394 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " < " + yystack_[0].value.as < std::string > (); } -#line 1973 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " & " + yystack_[0].value.as < std::string > (); } +#line 1972 "sqlite3_parser.cpp" break; - case 94: // binary_expr: expr "<=" expr + case 93: // binary_expr: expr "|" expr #line 395 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " <= " + yystack_[0].value.as < std::string > (); } -#line 1979 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " | " + yystack_[0].value.as < std::string > (); } +#line 1978 "sqlite3_parser.cpp" break; - case 95: // binary_expr: expr ">" expr + case 94: // binary_expr: expr "<" expr #line 396 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " > " + yystack_[0].value.as < std::string > (); } -#line 1985 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " < " + yystack_[0].value.as < std::string > (); } +#line 1984 "sqlite3_parser.cpp" break; - case 96: // binary_expr: expr ">=" expr + case 95: // binary_expr: expr "<=" expr #line 397 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " >= " + yystack_[0].value.as < std::string > (); } -#line 1991 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " <= " + yystack_[0].value.as < std::string > (); } +#line 1990 "sqlite3_parser.cpp" break; - case 97: // binary_expr: expr "=" expr + case 96: // binary_expr: expr ">" expr #line 398 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " = " + yystack_[0].value.as < std::string > (); } -#line 1997 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " > " + yystack_[0].value.as < std::string > (); } +#line 1996 "sqlite3_parser.cpp" break; - case 98: // binary_expr: expr "==" expr + case 97: // binary_expr: expr ">=" expr #line 399 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " == " + yystack_[0].value.as < std::string > (); } -#line 2003 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " >= " + yystack_[0].value.as < std::string > (); } +#line 2002 "sqlite3_parser.cpp" break; - case 99: // binary_expr: expr "!=" expr + case 98: // binary_expr: expr "=" expr #line 400 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " != " + yystack_[0].value.as < std::string > (); } -#line 2009 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " = " + yystack_[0].value.as < std::string > (); } +#line 2008 "sqlite3_parser.cpp" break; - case 100: // binary_expr: expr "<>" expr + case 99: // binary_expr: expr "==" expr #line 401 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " <> " + yystack_[0].value.as < std::string > (); } -#line 2015 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " == " + yystack_[0].value.as < std::string > (); } +#line 2014 "sqlite3_parser.cpp" break; - case 101: // binary_expr: expr "IS" expr + case 100: // binary_expr: expr "!=" expr #line 402 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " IS " + yystack_[0].value.as < std::string > (); } -#line 2021 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " != " + yystack_[0].value.as < std::string > (); } +#line 2020 "sqlite3_parser.cpp" break; - case 102: // binary_expr: expr "AND" expr + case 101: // binary_expr: expr "<>" expr #line 403 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " AND " + yystack_[0].value.as < std::string > (); } -#line 2027 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " <> " + yystack_[0].value.as < std::string > (); } +#line 2026 "sqlite3_parser.cpp" break; - case 103: // binary_expr: expr "OR" expr + case 102: // binary_expr: expr "IS" expr #line 404 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " IS " + yystack_[0].value.as < std::string > (); } +#line 2032 "sqlite3_parser.cpp" + break; + + case 103: // binary_expr: expr "AND" expr +#line 405 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " AND " + yystack_[0].value.as < std::string > (); } +#line 2038 "sqlite3_parser.cpp" + break; + + case 104: // binary_expr: expr "OR" expr +#line 406 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " OR " + yystack_[0].value.as < std::string > (); } -#line 2033 "sqlite3_parser.cpp" +#line 2044 "sqlite3_parser.cpp" break; - case 104: // like_expr: expr "LIKE" expr -#line 408 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " LIKE " + yystack_[0].value.as < std::string > (); } -#line 2039 "sqlite3_parser.cpp" - break; - - case 105: // like_expr: expr "GLOB" expr -#line 409 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " GLOB " + yystack_[0].value.as < std::string > (); } -#line 2045 "sqlite3_parser.cpp" - break; - - case 106: // like_expr: expr "MATCH" expr + case 105: // like_expr: expr "LIKE" expr #line 410 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " MATCH " + yystack_[0].value.as < std::string > (); } -#line 2051 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " LIKE " + yystack_[0].value.as < std::string > (); } +#line 2050 "sqlite3_parser.cpp" break; - case 107: // like_expr: expr "REGEXP" expr + case 106: // like_expr: expr "GLOB" expr #line 411 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " REGEXP " + yystack_[0].value.as < std::string > (); } -#line 2057 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " GLOB " + yystack_[0].value.as < std::string > (); } +#line 2056 "sqlite3_parser.cpp" break; - case 108: // like_expr: expr "NOT" "LIKE" expr + case 107: // like_expr: expr "MATCH" expr #line 412 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT LIKE " + yystack_[0].value.as < std::string > (); } -#line 2063 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " MATCH " + yystack_[0].value.as < std::string > (); } +#line 2062 "sqlite3_parser.cpp" break; - case 109: // like_expr: expr "NOT" "GLOB" expr + case 108: // like_expr: expr "REGEXP" expr #line 413 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT GLOB " + yystack_[0].value.as < std::string > (); } -#line 2069 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " REGEXP " + yystack_[0].value.as < std::string > (); } +#line 2068 "sqlite3_parser.cpp" break; - case 110: // like_expr: expr "NOT" "MATCH" expr + case 109: // like_expr: expr "NOT" "LIKE" expr #line 414 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT MATCH " + yystack_[0].value.as < std::string > (); } -#line 2075 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT LIKE " + yystack_[0].value.as < std::string > (); } +#line 2074 "sqlite3_parser.cpp" break; - case 111: // like_expr: expr "NOT" "REGEXP" expr + case 110: // like_expr: expr "NOT" "GLOB" expr #line 415 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT REGEXP " + yystack_[0].value.as < std::string > (); } -#line 2081 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT GLOB " + yystack_[0].value.as < std::string > (); } +#line 2080 "sqlite3_parser.cpp" break; - case 112: // like_expr: expr "LIKE" expr "ESCAPE" expr + case 111: // like_expr: expr "NOT" "MATCH" expr #line 416 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " LIKE " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2087 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT MATCH " + yystack_[0].value.as < std::string > (); } +#line 2086 "sqlite3_parser.cpp" break; - case 113: // like_expr: expr "GLOB" expr "ESCAPE" expr + case 112: // like_expr: expr "NOT" "REGEXP" expr #line 417 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " GLOB " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2093 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT REGEXP " + yystack_[0].value.as < std::string > (); } +#line 2092 "sqlite3_parser.cpp" break; - case 114: // like_expr: expr "MATCH" expr "ESCAPE" expr + case 113: // like_expr: expr "LIKE" expr "ESCAPE" expr #line 418 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " MATCH " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2099 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " LIKE " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2098 "sqlite3_parser.cpp" break; - case 115: // like_expr: expr "REGEXP" expr "ESCAPE" expr + case 114: // like_expr: expr "GLOB" expr "ESCAPE" expr #line 419 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " REGEXP " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2105 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " GLOB " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2104 "sqlite3_parser.cpp" break; - case 116: // like_expr: expr "NOT" "LIKE" expr "ESCAPE" expr + case 115: // like_expr: expr "MATCH" expr "ESCAPE" expr #line 420 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT LIKE " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2111 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " MATCH " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2110 "sqlite3_parser.cpp" break; - case 117: // like_expr: expr "NOT" "GLOB" expr "ESCAPE" expr + case 116: // like_expr: expr "REGEXP" expr "ESCAPE" expr #line 421 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT GLOB " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2117 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " REGEXP " + yystack_[2].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2116 "sqlite3_parser.cpp" break; - case 118: // like_expr: expr "NOT" "MATCH" expr "ESCAPE" expr + case 117: // like_expr: expr "NOT" "LIKE" expr "ESCAPE" expr #line 422 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT MATCH " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2123 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT LIKE " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2122 "sqlite3_parser.cpp" break; - case 119: // like_expr: expr "NOT" "REGEXP" expr "ESCAPE" expr + case 118: // like_expr: expr "NOT" "GLOB" expr "ESCAPE" expr #line 423 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT GLOB " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2128 "sqlite3_parser.cpp" + break; + + case 119: // like_expr: expr "NOT" "MATCH" expr "ESCAPE" expr +#line 424 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT MATCH " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } +#line 2134 "sqlite3_parser.cpp" + break; + + case 120: // like_expr: expr "NOT" "REGEXP" expr "ESCAPE" expr +#line 425 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT REGEXP " + yystack_[3].value.as < std::string > () + " ESCAPE " + yystack_[0].value.as < std::string > (); } -#line 2129 "sqlite3_parser.cpp" +#line 2140 "sqlite3_parser.cpp" break; - case 120: // exprlist_expr: expr -#line 427 "sqlite3_parser.yy" + case 121: // exprlist_expr: expr +#line 429 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2135 "sqlite3_parser.cpp" +#line 2146 "sqlite3_parser.cpp" break; - case 121: // exprlist_expr: exprlist_expr "," expr -#line 428 "sqlite3_parser.yy" + case 122: // exprlist_expr: exprlist_expr "," expr +#line 430 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + ", " + yystack_[0].value.as < std::string > (); } -#line 2141 "sqlite3_parser.cpp" +#line 2152 "sqlite3_parser.cpp" break; - case 122: // function_expr: id "(" exprlist_expr ")" -#line 432 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 2147 "sqlite3_parser.cpp" - break; - - case 123: // function_expr: id "(" "DISTINCT" exprlist_expr ")" -#line 433 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + "(DISTINCT " + yystack_[1].value.as < std::string > () + ")"; } -#line 2153 "sqlite3_parser.cpp" - break; - - case 124: // function_expr: id "(" ")" + case 123: // function_expr: id "(" exprlist_expr ")" #line 434 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + "()"; } -#line 2159 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } +#line 2158 "sqlite3_parser.cpp" break; - case 125: // function_expr: id "(" "*" ")" + case 124: // function_expr: id "(" "DISTINCT" exprlist_expr ")" #line 435 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + "(DISTINCT " + yystack_[1].value.as < std::string > () + ")"; } +#line 2164 "sqlite3_parser.cpp" + break; + + case 125: // function_expr: id "(" ")" +#line 436 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + "()"; } +#line 2170 "sqlite3_parser.cpp" + break; + + case 126: // function_expr: id "(" "*" ")" +#line 437 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + "(*)"; } -#line 2165 "sqlite3_parser.cpp" +#line 2176 "sqlite3_parser.cpp" break; - case 126: // isnull_expr: expr "ISNULL" -#line 439 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " ISNULL"; } -#line 2171 "sqlite3_parser.cpp" - break; - - case 127: // isnull_expr: expr "NOTNULL" -#line 440 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " NOTNULL"; } -#line 2177 "sqlite3_parser.cpp" - break; - - case 128: // isnull_expr: expr "NOT" "NULL" + case 127: // isnull_expr: expr "ISNULL" #line 441 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " ISNULL"; } +#line 2182 "sqlite3_parser.cpp" + break; + + case 128: // isnull_expr: expr "NOTNULL" +#line 442 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " NOTNULL"; } +#line 2188 "sqlite3_parser.cpp" + break; + + case 129: // isnull_expr: expr "NOT" "NULL" +#line 443 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " NOT NULL"; } -#line 2183 "sqlite3_parser.cpp" +#line 2194 "sqlite3_parser.cpp" break; - case 129: // between_expr: expr "BETWEEN" expr "AND BETWEEN" expr -#line 445 "sqlite3_parser.yy" + case 130: // between_expr: expr "BETWEEN" expr "AND BETWEEN" expr +#line 447 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " BETWEEN " + yystack_[2].value.as < std::string > () + " AND " + yystack_[0].value.as < std::string > (); } -#line 2189 "sqlite3_parser.cpp" +#line 2200 "sqlite3_parser.cpp" break; - case 130: // between_expr: expr "NOT" "BETWEEN" expr "AND BETWEEN" expr -#line 446 "sqlite3_parser.yy" + case 131: // between_expr: expr "NOT" "BETWEEN" expr "AND BETWEEN" expr +#line 448 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT BETWEEN " + yystack_[2].value.as < std::string > () + " AND " + yystack_[0].value.as < std::string > (); } -#line 2195 "sqlite3_parser.cpp" +#line 2206 "sqlite3_parser.cpp" break; - case 131: // in_expr: expr "IN" "(" ")" -#line 450 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " IN ()"; } -#line 2201 "sqlite3_parser.cpp" - break; - - case 132: // in_expr: expr "IN" "(" select_stmt ")" -#line 451 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " IN (" + yystack_[1].value.as < std::string > () + ")"; } -#line 2207 "sqlite3_parser.cpp" - break; - - case 133: // in_expr: expr "IN" "(" exprlist_expr ")" + case 132: // in_expr: expr "IN" "(" ")" #line 452 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " IN (" + yystack_[1].value.as < std::string > () + ")"; } -#line 2213 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " IN ()"; } +#line 2212 "sqlite3_parser.cpp" break; - case 134: // in_expr: expr "IN" id "." tableid + case 133: // in_expr: expr "IN" "(" select_stmt ")" #line 453 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2219 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " IN (" + yystack_[1].value.as < std::string > () + ")"; } +#line 2218 "sqlite3_parser.cpp" break; - case 135: // in_expr: expr "IN" tableid + case 134: // in_expr: expr "IN" "(" exprlist_expr ")" #line 454 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2225 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " IN (" + yystack_[1].value.as < std::string > () + ")"; } +#line 2224 "sqlite3_parser.cpp" break; - case 136: // in_expr: expr "IN" id "." id "(" ")" + case 135: // in_expr: expr "IN" id "." tableid #line 455 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[6].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[4].value.as < std::string > ()) + "." + yystack_[2].value.as < std::string > () + "()"; } -#line 2231 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2230 "sqlite3_parser.cpp" break; - case 137: // in_expr: expr "IN" id "." id "(" exprlist_expr ")" + case 136: // in_expr: expr "IN" tableid #line 456 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[7].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[5].value.as < std::string > ()) + "." + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 2237 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2236 "sqlite3_parser.cpp" break; - case 138: // in_expr: expr "IN" id "(" exprlist_expr ")" + case 137: // in_expr: expr "IN" id "." id "(" ")" #line 457 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " IN " + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 2243 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[6].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[4].value.as < std::string > ()) + "." + yystack_[2].value.as < std::string > () + "()"; } +#line 2242 "sqlite3_parser.cpp" break; - case 139: // in_expr: expr "NOT" "IN" "(" ")" + case 138: // in_expr: expr "IN" id "." id "(" exprlist_expr ")" #line 458 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " NOT IN ()"; } -#line 2249 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[7].value.as < std::string > () + " IN " + sqlb::escapeIdentifier(yystack_[5].value.as < std::string > ()) + "." + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } +#line 2248 "sqlite3_parser.cpp" break; - case 140: // in_expr: expr "NOT" "IN" "(" select_stmt ")" + case 139: // in_expr: expr "IN" id "(" exprlist_expr ")" #line 459 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT IN (" + yystack_[1].value.as < std::string > () + ")"; } -#line 2255 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " IN " + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } +#line 2254 "sqlite3_parser.cpp" break; - case 141: // in_expr: expr "NOT" "IN" "(" exprlist_expr ")" + case 140: // in_expr: expr "NOT" "IN" "(" ")" #line 460 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT IN (" + yystack_[1].value.as < std::string > () + ")"; } -#line 2261 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " NOT IN ()"; } +#line 2260 "sqlite3_parser.cpp" break; - case 142: // in_expr: expr "NOT" "IN" id "." tableid + case 141: // in_expr: expr "NOT" "IN" "(" select_stmt ")" #line 461 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2267 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT IN (" + yystack_[1].value.as < std::string > () + ")"; } +#line 2266 "sqlite3_parser.cpp" break; - case 143: // in_expr: expr "NOT" "IN" tableid + case 142: // in_expr: expr "NOT" "IN" "(" exprlist_expr ")" #line 462 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2273 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT IN (" + yystack_[1].value.as < std::string > () + ")"; } +#line 2272 "sqlite3_parser.cpp" break; - case 144: // in_expr: expr "NOT" "IN" id "." id "(" ")" + case 143: // in_expr: expr "NOT" "IN" id "." tableid #line 463 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[7].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[4].value.as < std::string > ()) + "." + yystack_[2].value.as < std::string > () + "()"; } -#line 2279 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[5].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2278 "sqlite3_parser.cpp" break; - case 145: // in_expr: expr "NOT" "IN" id "." id "(" exprlist_expr ")" + case 144: // in_expr: expr "NOT" "IN" tableid #line 464 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[8].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[5].value.as < std::string > ()) + "." + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 2285 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2284 "sqlite3_parser.cpp" break; - case 146: // in_expr: expr "NOT" "IN" id "(" exprlist_expr ")" + case 145: // in_expr: expr "NOT" "IN" id "." id "(" ")" #line 465 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[7].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[4].value.as < std::string > ()) + "." + yystack_[2].value.as < std::string > () + "()"; } +#line 2290 "sqlite3_parser.cpp" + break; + + case 146: // in_expr: expr "NOT" "IN" id "." id "(" exprlist_expr ")" +#line 466 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[8].value.as < std::string > () + " NOT IN " + sqlb::escapeIdentifier(yystack_[5].value.as < std::string > ()) + "." + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } +#line 2296 "sqlite3_parser.cpp" + break; + + case 147: // in_expr: expr "NOT" "IN" id "(" exprlist_expr ")" +#line 467 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[6].value.as < std::string > () + " NOT IN " + yystack_[3].value.as < std::string > () + "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 2291 "sqlite3_parser.cpp" +#line 2302 "sqlite3_parser.cpp" break; - case 147: // whenthenlist_expr: "WHEN" expr "THEN" expr -#line 469 "sqlite3_parser.yy" + case 148: // whenthenlist_expr: "WHEN" expr "THEN" expr +#line 471 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "WHEN " + yystack_[2].value.as < std::string > () + " THEN " + yystack_[0].value.as < std::string > (); } -#line 2297 "sqlite3_parser.cpp" +#line 2308 "sqlite3_parser.cpp" break; - case 148: // whenthenlist_expr: whenthenlist_expr "WHEN" expr "THEN" expr -#line 470 "sqlite3_parser.yy" + case 149: // whenthenlist_expr: whenthenlist_expr "WHEN" expr "THEN" expr +#line 472 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " WHEN" + yystack_[2].value.as < std::string > () + " THEN " + yystack_[0].value.as < std::string > (); } -#line 2303 "sqlite3_parser.cpp" +#line 2314 "sqlite3_parser.cpp" break; - case 149: // case_expr: "CASE" expr whenthenlist_expr "ELSE" expr "END" -#line 474 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "CASE " + yystack_[4].value.as < std::string > () + " " + yystack_[3].value.as < std::string > () + " ELSE " + yystack_[1].value.as < std::string > () + " END"; } -#line 2309 "sqlite3_parser.cpp" - break; - - case 150: // case_expr: "CASE" expr whenthenlist_expr "END" -#line 475 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "CASE " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " END"; } -#line 2315 "sqlite3_parser.cpp" - break; - - case 151: // case_expr: "CASE" whenthenlist_expr "ELSE" expr "END" + case 150: // case_expr: "CASE" expr whenthenlist_expr "ELSE" expr "END" #line 476 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "CASE " + yystack_[3].value.as < std::string > () + " ELSE " + yystack_[1].value.as < std::string > () + " END"; } -#line 2321 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = "CASE " + yystack_[4].value.as < std::string > () + " " + yystack_[3].value.as < std::string > () + " ELSE " + yystack_[1].value.as < std::string > () + " END"; } +#line 2320 "sqlite3_parser.cpp" break; - case 152: // case_expr: "CASE" whenthenlist_expr "END" + case 151: // case_expr: "CASE" expr whenthenlist_expr "END" #line 477 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "CASE " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " END"; } +#line 2326 "sqlite3_parser.cpp" + break; + + case 152: // case_expr: "CASE" whenthenlist_expr "ELSE" expr "END" +#line 478 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "CASE " + yystack_[3].value.as < std::string > () + " ELSE " + yystack_[1].value.as < std::string > () + " END"; } +#line 2332 "sqlite3_parser.cpp" + break; + + case 153: // case_expr: "CASE" whenthenlist_expr "END" +#line 479 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "CASE " + yystack_[1].value.as < std::string > () + " END"; } -#line 2327 "sqlite3_parser.cpp" +#line 2338 "sqlite3_parser.cpp" break; - case 153: // raise_expr: "RAISE" "(" "IGNORE" ")" -#line 481 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "RAISE(IGNORE)"; } -#line 2333 "sqlite3_parser.cpp" - break; - - case 154: // raise_expr: "RAISE" "(" "ROLLBACK" "," "string literal" ")" -#line 482 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "RAISE(ROLLBACK, " + yystack_[1].value.as < std::string > () + ")"; } -#line 2339 "sqlite3_parser.cpp" - break; - - case 155: // raise_expr: "RAISE" "(" "ABORT" "," "string literal" ")" + case 154: // raise_expr: "RAISE" "(" "IGNORE" ")" #line 483 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "RAISE(ABORT, " + yystack_[1].value.as < std::string > () + ")"; } -#line 2345 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = "RAISE(IGNORE)"; } +#line 2344 "sqlite3_parser.cpp" break; - case 156: // raise_expr: "RAISE" "(" "FAIL" "," "string literal" ")" + case 155: // raise_expr: "RAISE" "(" "ROLLBACK" "," "string literal" ")" #line 484 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "RAISE(ROLLBACK, " + yystack_[1].value.as < std::string > () + ")"; } +#line 2350 "sqlite3_parser.cpp" + break; + + case 156: // raise_expr: "RAISE" "(" "ABORT" "," "string literal" ")" +#line 485 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "RAISE(ABORT, " + yystack_[1].value.as < std::string > () + ")"; } +#line 2356 "sqlite3_parser.cpp" + break; + + case 157: // raise_expr: "RAISE" "(" "FAIL" "," "string literal" ")" +#line 486 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "RAISE(FAIL, " + yystack_[1].value.as < std::string > () + ")"; } -#line 2351 "sqlite3_parser.cpp" +#line 2362 "sqlite3_parser.cpp" break; - case 157: // expr: literalvalue -#line 488 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2357 "sqlite3_parser.cpp" - break; - - case 158: // expr: allowed_keywords_as_identifier -#line 489 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2363 "sqlite3_parser.cpp" - break; - - case 159: // expr: "bind parameter" + case 158: // expr: literalvalue #line 490 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2369 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2368 "sqlite3_parser.cpp" break; - case 160: // expr: id "." id "." id + case 159: // expr: allowed_keywords_as_identifier #line 491 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[4].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2375 "sqlite3_parser.cpp" - break; - - case 161: // expr: id "." id -#line 492 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2381 "sqlite3_parser.cpp" - break; - - case 162: // expr: id -#line 493 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } -#line 2387 "sqlite3_parser.cpp" +#line 2374 "sqlite3_parser.cpp" break; - case 163: // expr: unary_expr + case 160: // expr: "bind parameter" +#line 492 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2380 "sqlite3_parser.cpp" + break; + + case 161: // expr: id "." id "." id +#line 493 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[4].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2386 "sqlite3_parser.cpp" + break; + + case 162: // expr: id "." id #line 494 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2393 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[2].value.as < std::string > ()) + "." + sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2392 "sqlite3_parser.cpp" break; - case 164: // expr: binary_expr + case 163: // expr: id #line 495 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2399 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = sqlb::escapeIdentifier(yystack_[0].value.as < std::string > ()); } +#line 2398 "sqlite3_parser.cpp" break; - case 165: // expr: function_expr + case 164: // expr: unary_expr #line 496 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2405 "sqlite3_parser.cpp" +#line 2404 "sqlite3_parser.cpp" break; - case 166: // expr: "(" exprlist_expr ")" + case 165: // expr: binary_expr #line 497 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "(" + yystack_[1].value.as < std::string > () + ")"; } -#line 2411 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2410 "sqlite3_parser.cpp" break; - case 167: // expr: "CAST" "(" expr "AS" type_name ")" + case 166: // expr: function_expr #line 498 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "CAST(" + yystack_[3].value.as < std::string > () + " AS " + yystack_[1].value.as < std::string > () + ")"; } -#line 2417 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2416 "sqlite3_parser.cpp" break; - case 168: // expr: expr "COLLATE" id + case 167: // expr: "(" exprlist_expr ")" #line 499 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " COLLATE " + yystack_[0].value.as < std::string > (); } -#line 2423 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = "(" + yystack_[1].value.as < std::string > () + ")"; } +#line 2422 "sqlite3_parser.cpp" break; - case 169: // expr: like_expr + case 168: // expr: "CAST" "(" expr "AS" type_name ")" #line 500 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2429 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = "CAST(" + yystack_[3].value.as < std::string > () + " AS " + yystack_[1].value.as < std::string > () + ")"; } +#line 2428 "sqlite3_parser.cpp" break; - case 170: // expr: isnull_expr + case 169: // expr: expr "COLLATE" id #line 501 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2435 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " COLLATE " + yystack_[0].value.as < std::string > (); } +#line 2434 "sqlite3_parser.cpp" break; - case 171: // expr: between_expr + case 170: // expr: like_expr #line 502 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2441 "sqlite3_parser.cpp" +#line 2440 "sqlite3_parser.cpp" break; - case 172: // expr: in_expr + case 171: // expr: isnull_expr #line 503 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2447 "sqlite3_parser.cpp" +#line 2446 "sqlite3_parser.cpp" break; - case 173: // expr: case_expr + case 172: // expr: between_expr #line 504 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2453 "sqlite3_parser.cpp" +#line 2452 "sqlite3_parser.cpp" break; - case 174: // expr: raise_expr + case 173: // expr: in_expr #line 505 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2459 "sqlite3_parser.cpp" +#line 2458 "sqlite3_parser.cpp" break; - case 175: // select_stmt: "SELECT" -#line 514 "sqlite3_parser.yy" + case 174: // expr: case_expr +#line 506 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2464 "sqlite3_parser.cpp" + break; + + case 175: // expr: raise_expr +#line 507 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2470 "sqlite3_parser.cpp" + break; + + case 176: // select_stmt: "SELECT" +#line 516 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "SELECT"; } -#line 2465 "sqlite3_parser.cpp" +#line 2476 "sqlite3_parser.cpp" break; - case 176: // optional_if_not_exists: %empty -#line 522 "sqlite3_parser.yy" + case 177: // optional_if_not_exists: %empty +#line 524 "sqlite3_parser.yy" { yylhs.value.as < bool > () = false; } -#line 2471 "sqlite3_parser.cpp" +#line 2482 "sqlite3_parser.cpp" break; - case 177: // optional_if_not_exists: "IF" "NOT" "EXISTS" -#line 523 "sqlite3_parser.yy" + case 178: // optional_if_not_exists: "IF" "NOT" "EXISTS" +#line 525 "sqlite3_parser.yy" { yylhs.value.as < bool > () = true; } -#line 2477 "sqlite3_parser.cpp" +#line 2488 "sqlite3_parser.cpp" break; - case 178: // optional_sort_order: %empty -#line 527 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = ""; } -#line 2483 "sqlite3_parser.cpp" - break; - - case 179: // optional_sort_order: "ASC" -#line 528 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "ASC"; } -#line 2489 "sqlite3_parser.cpp" - break; - - case 180: // optional_sort_order: "DESC" + case 179: // optional_sort_order: %empty #line 529 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "DESC"; } -#line 2495 "sqlite3_parser.cpp" - break; - - case 181: // optional_unique: %empty -#line 537 "sqlite3_parser.yy" - { yylhs.value.as < bool > () = false; } -#line 2501 "sqlite3_parser.cpp" - break; - - case 182: // optional_unique: "UNIQUE" -#line 538 "sqlite3_parser.yy" - { yylhs.value.as < bool > () = true; } -#line 2507 "sqlite3_parser.cpp" - break; - - case 183: // optional_where: %empty -#line 542 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = ""; } -#line 2513 "sqlite3_parser.cpp" +#line 2494 "sqlite3_parser.cpp" break; - case 184: // optional_where: "WHERE" expr -#line 543 "sqlite3_parser.yy" + case 180: // optional_sort_order: "ASC" +#line 530 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "ASC"; } +#line 2500 "sqlite3_parser.cpp" + break; + + case 181: // optional_sort_order: "DESC" +#line 531 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "DESC"; } +#line 2506 "sqlite3_parser.cpp" + break; + + case 182: // optional_unique: %empty +#line 539 "sqlite3_parser.yy" + { yylhs.value.as < bool > () = false; } +#line 2512 "sqlite3_parser.cpp" + break; + + case 183: // optional_unique: "UNIQUE" +#line 540 "sqlite3_parser.yy" + { yylhs.value.as < bool > () = true; } +#line 2518 "sqlite3_parser.cpp" + break; + + case 184: // optional_where: %empty +#line 544 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = ""; } +#line 2524 "sqlite3_parser.cpp" + break; + + case 185: // optional_where: "WHERE" expr +#line 545 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2519 "sqlite3_parser.cpp" +#line 2530 "sqlite3_parser.cpp" break; - case 185: // tableid_with_uninteresting_schema: id "." tableid -#line 547 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2525 "sqlite3_parser.cpp" - break; - - case 186: // tableid_with_uninteresting_schema: "TEMP" "." tableid -#line 548 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2531 "sqlite3_parser.cpp" - break; - - case 187: // tableid_with_uninteresting_schema: tableid + case 186: // tableid_with_uninteresting_schema: id "." tableid #line 549 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2537 "sqlite3_parser.cpp" +#line 2536 "sqlite3_parser.cpp" break; - case 188: // indexed_column: expr optional_sort_order -#line 553 "sqlite3_parser.yy" + case 187: // tableid_with_uninteresting_schema: "TEMP" "." tableid +#line 550 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2542 "sqlite3_parser.cpp" + break; + + case 188: // tableid_with_uninteresting_schema: tableid +#line 551 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2548 "sqlite3_parser.cpp" + break; + + case 189: // indexed_column: expr optional_sort_order +#line 555 "sqlite3_parser.yy" { // If the expression is only one column name and nothing else, treat it as a column name; otherwise as an expression. char quote = getIdentifierQuoteChar(); @@ -2549,23 +2560,23 @@ namespace sqlb { namespace parser { yylhs.value.as < sqlb::IndexedColumn > () = sqlb::IndexedColumn(yystack_[1].value.as < std::string > (), true, yystack_[0].value.as < std::string > ()); } } -#line 2553 "sqlite3_parser.cpp" +#line 2564 "sqlite3_parser.cpp" break; - case 189: // indexed_column_list: indexed_column -#line 567 "sqlite3_parser.yy" + case 190: // indexed_column_list: indexed_column +#line 569 "sqlite3_parser.yy" { yylhs.value.as < sqlb::IndexedColumnVector > () = sqlb::IndexedColumnVector(1, yystack_[0].value.as < sqlb::IndexedColumn > ()); } -#line 2559 "sqlite3_parser.cpp" +#line 2570 "sqlite3_parser.cpp" break; - case 190: // indexed_column_list: indexed_column_list "," indexed_column -#line 568 "sqlite3_parser.yy" + case 191: // indexed_column_list: indexed_column_list "," indexed_column +#line 570 "sqlite3_parser.yy" { yylhs.value.as < sqlb::IndexedColumnVector > () = yystack_[2].value.as < sqlb::IndexedColumnVector > (); yylhs.value.as < sqlb::IndexedColumnVector > ().push_back(yystack_[0].value.as < sqlb::IndexedColumn > ()); } -#line 2565 "sqlite3_parser.cpp" +#line 2576 "sqlite3_parser.cpp" break; - case 191: // createindex_stmt: "CREATE" optional_unique "INDEX" optional_if_not_exists tableid_with_uninteresting_schema "ON" tableid "(" indexed_column_list ")" optional_where -#line 572 "sqlite3_parser.yy" + case 192: // createindex_stmt: "CREATE" optional_unique "INDEX" optional_if_not_exists tableid_with_uninteresting_schema "ON" tableid "(" indexed_column_list ")" optional_where +#line 574 "sqlite3_parser.yy" { yylhs.value.as < sqlb::IndexPtr > () = std::make_shared(yystack_[6].value.as < std::string > ()); yylhs.value.as < sqlb::IndexPtr > ()->setTable(yystack_[4].value.as < std::string > ()); @@ -2574,158 +2585,158 @@ namespace sqlb { namespace parser { yylhs.value.as < sqlb::IndexPtr > ()->fields = yystack_[2].value.as < sqlb::IndexedColumnVector > (); yylhs.value.as < sqlb::IndexPtr > ()->setFullyParsed(true); } -#line 2578 "sqlite3_parser.cpp" +#line 2589 "sqlite3_parser.cpp" break; - case 192: // optional_exprlist_with_paren: %empty -#line 587 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = {}; } -#line 2584 "sqlite3_parser.cpp" - break; - - case 193: // optional_exprlist_with_paren: "(" ")" -#line 588 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = {}; } -#line 2590 "sqlite3_parser.cpp" - break; - - case 194: // optional_exprlist_with_paren: "(" exprlist_expr ")" + case 193: // optional_exprlist_with_paren: %empty #line 589 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > (); } -#line 2596 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = {}; } +#line 2595 "sqlite3_parser.cpp" break; - case 195: // createvirtualtable_stmt: "CREATE" "VIRTUAL" "TABLE" optional_if_not_exists tableid_with_uninteresting_schema "USING" id optional_exprlist_with_paren -#line 593 "sqlite3_parser.yy" + case 194: // optional_exprlist_with_paren: "(" ")" +#line 590 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = {}; } +#line 2601 "sqlite3_parser.cpp" + break; + + case 195: // optional_exprlist_with_paren: "(" exprlist_expr ")" +#line 591 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > (); } +#line 2607 "sqlite3_parser.cpp" + break; + + case 196: // createvirtualtable_stmt: "CREATE" "VIRTUAL" "TABLE" optional_if_not_exists tableid_with_uninteresting_schema "USING" id optional_exprlist_with_paren +#line 595 "sqlite3_parser.yy" { yylhs.value.as < sqlb::TablePtr > () = std::make_shared(yystack_[3].value.as < std::string > ()); yylhs.value.as < sqlb::TablePtr > ()->setVirtualUsing(yystack_[1].value.as < std::string > ()); yylhs.value.as < sqlb::TablePtr > ()->setFullyParsed(false); } -#line 2606 "sqlite3_parser.cpp" +#line 2617 "sqlite3_parser.cpp" break; - case 196: // optional_temporary: %empty -#line 605 "sqlite3_parser.yy" - { yylhs.value.as < bool > () = false; } -#line 2612 "sqlite3_parser.cpp" - break; - - case 197: // optional_temporary: "TEMP" -#line 606 "sqlite3_parser.yy" - { yylhs.value.as < bool > () = true; } -#line 2618 "sqlite3_parser.cpp" - break; - - case 198: // optional_temporary: "TEMPORARY" + case 197: // optional_temporary: %empty #line 607 "sqlite3_parser.yy" - { yylhs.value.as < bool > () = true; } -#line 2624 "sqlite3_parser.cpp" - break; - - case 199: // optional_withoutrowid: %empty -#line 611 "sqlite3_parser.yy" { yylhs.value.as < bool > () = false; } -#line 2630 "sqlite3_parser.cpp" +#line 2623 "sqlite3_parser.cpp" break; - case 200: // optional_withoutrowid: "WITHOUT" "ROWID" -#line 612 "sqlite3_parser.yy" + case 198: // optional_temporary: "TEMP" +#line 608 "sqlite3_parser.yy" { yylhs.value.as < bool > () = true; } -#line 2636 "sqlite3_parser.cpp" +#line 2629 "sqlite3_parser.cpp" break; - case 201: // optional_conflictclause: %empty -#line 616 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = ""; } -#line 2642 "sqlite3_parser.cpp" + case 199: // optional_temporary: "TEMPORARY" +#line 609 "sqlite3_parser.yy" + { yylhs.value.as < bool > () = true; } +#line 2635 "sqlite3_parser.cpp" break; - case 202: // optional_conflictclause: "ON" "CONFLICT" "ROLLBACK" -#line 617 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2648 "sqlite3_parser.cpp" + case 200: // optional_withoutrowid: %empty +#line 613 "sqlite3_parser.yy" + { yylhs.value.as < bool > () = false; } +#line 2641 "sqlite3_parser.cpp" break; - case 203: // optional_conflictclause: "ON" "CONFLICT" "ABORT" + case 201: // optional_withoutrowid: "WITHOUT" "ROWID" +#line 614 "sqlite3_parser.yy" + { yylhs.value.as < bool > () = true; } +#line 2647 "sqlite3_parser.cpp" + break; + + case 202: // optional_conflictclause: %empty #line 618 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2654 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = ""; } +#line 2653 "sqlite3_parser.cpp" break; - case 204: // optional_conflictclause: "ON" "CONFLICT" "FAIL" + case 203: // optional_conflictclause: "ON" "CONFLICT" "ROLLBACK" #line 619 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2660 "sqlite3_parser.cpp" +#line 2659 "sqlite3_parser.cpp" break; - case 205: // optional_conflictclause: "ON" "CONFLICT" "IGNORE" + case 204: // optional_conflictclause: "ON" "CONFLICT" "ABORT" #line 620 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2666 "sqlite3_parser.cpp" +#line 2665 "sqlite3_parser.cpp" break; - case 206: // optional_conflictclause: "ON" "CONFLICT" "REPLACE" + case 205: // optional_conflictclause: "ON" "CONFLICT" "FAIL" #line 621 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2672 "sqlite3_parser.cpp" +#line 2671 "sqlite3_parser.cpp" break; - case 207: // optional_typename: %empty -#line 625 "sqlite3_parser.yy" + case 206: // optional_conflictclause: "ON" "CONFLICT" "IGNORE" +#line 622 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2677 "sqlite3_parser.cpp" + break; + + case 207: // optional_conflictclause: "ON" "CONFLICT" "REPLACE" +#line 623 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2683 "sqlite3_parser.cpp" + break; + + case 208: // optional_typename: %empty +#line 627 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = ""; } -#line 2678 "sqlite3_parser.cpp" +#line 2689 "sqlite3_parser.cpp" break; - case 208: // optional_typename: type_name -#line 626 "sqlite3_parser.yy" + case 209: // optional_typename: type_name +#line 628 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2684 "sqlite3_parser.cpp" +#line 2695 "sqlite3_parser.cpp" break; - case 209: // optional_storage_identifier: %empty -#line 630 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "VIRTUAL"; } -#line 2690 "sqlite3_parser.cpp" - break; - - case 210: // optional_storage_identifier: "STORED" -#line 631 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = "STORED"; } -#line 2696 "sqlite3_parser.cpp" - break; - - case 211: // optional_storage_identifier: "VIRTUAL" + case 210: // optional_storage_identifier: %empty #line 632 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = "VIRTUAL"; } -#line 2702 "sqlite3_parser.cpp" +#line 2701 "sqlite3_parser.cpp" break; - case 212: // optional_always_generated: %empty -#line 636 "sqlite3_parser.yy" + case 211: // optional_storage_identifier: "STORED" +#line 633 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "STORED"; } +#line 2707 "sqlite3_parser.cpp" + break; + + case 212: // optional_storage_identifier: "VIRTUAL" +#line 634 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = "VIRTUAL"; } +#line 2713 "sqlite3_parser.cpp" + break; + + case 213: // optional_always_generated: %empty +#line 638 "sqlite3_parser.yy" { yylhs.value.as < bool > () = false; } -#line 2708 "sqlite3_parser.cpp" +#line 2719 "sqlite3_parser.cpp" break; - case 213: // optional_always_generated: "GENERATED" "ALWAYS" -#line 637 "sqlite3_parser.yy" + case 214: // optional_always_generated: "GENERATED" "ALWAYS" +#line 639 "sqlite3_parser.yy" { yylhs.value.as < bool > () = true; } -#line 2714 "sqlite3_parser.cpp" +#line 2725 "sqlite3_parser.cpp" break; - case 214: // columnconstraint: optional_constraintname "PRIMARY" "KEY" optional_sort_order optional_conflictclause -#line 641 "sqlite3_parser.yy" + case 215: // columnconstraint: optional_constraintname "PRIMARY" "KEY" optional_sort_order optional_conflictclause +#line 643 "sqlite3_parser.yy" { auto pk = std::make_shared(sqlb::IndexedColumnVector{sqlb::IndexedColumn("", false, yystack_[1].value.as < std::string > ())}); pk->setName(yystack_[4].value.as < std::string > ()); pk->setConflictAction(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > () = pk; } -#line 2725 "sqlite3_parser.cpp" +#line 2736 "sqlite3_parser.cpp" break; - case 215: // columnconstraint: optional_constraintname "PRIMARY" "KEY" optional_sort_order optional_conflictclause "AUTOINCREMENT" -#line 647 "sqlite3_parser.yy" + case 216: // columnconstraint: optional_constraintname "PRIMARY" "KEY" optional_sort_order optional_conflictclause "AUTOINCREMENT" +#line 649 "sqlite3_parser.yy" { auto pk = std::make_shared(sqlb::IndexedColumnVector{sqlb::IndexedColumn("", false, yystack_[2].value.as < std::string > ())}); pk->setName(yystack_[5].value.as < std::string > ()); @@ -2733,113 +2744,113 @@ namespace sqlb { namespace parser { pk->setAutoIncrement(true); yylhs.value.as < sqlb::ConstraintPtr > () = pk; } -#line 2737 "sqlite3_parser.cpp" +#line 2748 "sqlite3_parser.cpp" break; - case 216: // columnconstraint: optional_constraintname "NOT" "NULL" optional_conflictclause -#line 654 "sqlite3_parser.yy" + case 217: // columnconstraint: optional_constraintname "NOT" "NULL" optional_conflictclause +#line 656 "sqlite3_parser.yy" { auto nn = std::make_shared(); nn->setName(yystack_[3].value.as < std::string > ()); nn->setConflictAction(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > () = nn; } -#line 2748 "sqlite3_parser.cpp" +#line 2759 "sqlite3_parser.cpp" break; - case 217: // columnconstraint: optional_constraintname "NULL" -#line 660 "sqlite3_parser.yy" + case 218: // columnconstraint: optional_constraintname "NULL" +#line 662 "sqlite3_parser.yy" { } -#line 2755 "sqlite3_parser.cpp" +#line 2766 "sqlite3_parser.cpp" break; - case 218: // columnconstraint: optional_constraintname "UNIQUE" optional_conflictclause -#line 662 "sqlite3_parser.yy" + case 219: // columnconstraint: optional_constraintname "UNIQUE" optional_conflictclause +#line 664 "sqlite3_parser.yy" { auto u = std::make_shared(); u->setName(yystack_[2].value.as < std::string > ()); u->setConflictAction(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > () = u; } -#line 2766 "sqlite3_parser.cpp" +#line 2777 "sqlite3_parser.cpp" break; - case 219: // columnconstraint: optional_constraintname "CHECK" "(" expr ")" -#line 668 "sqlite3_parser.yy" + case 220: // columnconstraint: optional_constraintname "CHECK" "(" expr ")" +#line 670 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[1].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[4].value.as < std::string > ()); } -#line 2775 "sqlite3_parser.cpp" +#line 2786 "sqlite3_parser.cpp" break; - case 220: // columnconstraint: optional_constraintname "DEFAULT" signednumber -#line 672 "sqlite3_parser.yy" + case 221: // columnconstraint: optional_constraintname "DEFAULT" signednumber +#line 674 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[2].value.as < std::string > ()); } -#line 2784 "sqlite3_parser.cpp" +#line 2795 "sqlite3_parser.cpp" break; - case 221: // columnconstraint: optional_constraintname "DEFAULT" literalvalue -#line 676 "sqlite3_parser.yy" + case 222: // columnconstraint: optional_constraintname "DEFAULT" literalvalue +#line 678 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[2].value.as < std::string > ()); } -#line 2793 "sqlite3_parser.cpp" +#line 2804 "sqlite3_parser.cpp" break; - case 222: // columnconstraint: optional_constraintname "DEFAULT" id -#line 680 "sqlite3_parser.yy" + case 223: // columnconstraint: optional_constraintname "DEFAULT" id +#line 682 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[2].value.as < std::string > ()); } -#line 2802 "sqlite3_parser.cpp" +#line 2813 "sqlite3_parser.cpp" break; - case 223: // columnconstraint: optional_constraintname "DEFAULT" allowed_keywords_as_identifier -#line 684 "sqlite3_parser.yy" + case 224: // columnconstraint: optional_constraintname "DEFAULT" allowed_keywords_as_identifier +#line 686 "sqlite3_parser.yy" { // We must allow the same keywords as unquoted default values as in the columnid context. // But we do not use columnid here in order to avoid reduce/reduce conflicts. yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[2].value.as < std::string > ()); } -#line 2812 "sqlite3_parser.cpp" +#line 2823 "sqlite3_parser.cpp" break; - case 224: // columnconstraint: optional_constraintname "DEFAULT" "IF" -#line 689 "sqlite3_parser.yy" + case 225: // columnconstraint: optional_constraintname "DEFAULT" "IF" +#line 691 "sqlite3_parser.yy" { // Same as above. yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[2].value.as < std::string > ()); } -#line 2821 "sqlite3_parser.cpp" +#line 2832 "sqlite3_parser.cpp" break; - case 225: // columnconstraint: optional_constraintname "DEFAULT" "(" expr ")" -#line 693 "sqlite3_parser.yy" + case 226: // columnconstraint: optional_constraintname "DEFAULT" "(" expr ")" +#line 695 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared("(" + yystack_[1].value.as < std::string > () + ")"); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[4].value.as < std::string > ()); } -#line 2830 "sqlite3_parser.cpp" +#line 2841 "sqlite3_parser.cpp" break; - case 226: // columnconstraint: optional_constraintname "COLLATE" id -#line 697 "sqlite3_parser.yy" + case 227: // columnconstraint: optional_constraintname "COLLATE" id +#line 699 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[2].value.as < std::string > ()); } -#line 2839 "sqlite3_parser.cpp" +#line 2850 "sqlite3_parser.cpp" break; - case 227: // columnconstraint: optional_constraintname "REFERENCES" tableid optional_columnid_with_paren_list optional_fk_clause -#line 701 "sqlite3_parser.yy" + case 228: // columnconstraint: optional_constraintname "REFERENCES" tableid optional_columnid_with_paren_list optional_fk_clause +#line 703 "sqlite3_parser.yy" { // TODO Solve shift/reduce conflict. It is not super important though as shifting seems to be right here. auto fk = std::make_shared(); fk->setName(yystack_[4].value.as < std::string > ()); @@ -2848,32 +2859,32 @@ namespace sqlb { namespace parser { fk->setConstraint(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > () = fk; } -#line 2852 "sqlite3_parser.cpp" +#line 2863 "sqlite3_parser.cpp" break; - case 228: // columnconstraint: optional_constraintname optional_always_generated "AS" "(" expr ")" optional_storage_identifier -#line 709 "sqlite3_parser.yy" + case 229: // columnconstraint: optional_constraintname optional_always_generated "AS" "(" expr ")" optional_storage_identifier +#line 711 "sqlite3_parser.yy" { // TODO Solve shift/reduce conflict. yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[2].value.as < std::string > (), yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[6].value.as < std::string > ()); } -#line 2861 "sqlite3_parser.cpp" +#line 2872 "sqlite3_parser.cpp" break; - case 229: // columnconstraint_list: columnconstraint -#line 716 "sqlite3_parser.yy" + case 230: // columnconstraint_list: columnconstraint +#line 718 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintVector > () = { yystack_[0].value.as < sqlb::ConstraintPtr > () }; } -#line 2867 "sqlite3_parser.cpp" +#line 2878 "sqlite3_parser.cpp" break; - case 230: // columnconstraint_list: columnconstraint_list columnconstraint -#line 717 "sqlite3_parser.yy" + case 231: // columnconstraint_list: columnconstraint_list columnconstraint +#line 719 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintVector > () = yystack_[1].value.as < sqlb::ConstraintVector > (); yylhs.value.as < sqlb::ConstraintVector > ().push_back(yystack_[0].value.as < sqlb::ConstraintPtr > ()); } -#line 2873 "sqlite3_parser.cpp" +#line 2884 "sqlite3_parser.cpp" break; - case 231: // columndef: columnid optional_typename columnconstraint_list -#line 721 "sqlite3_parser.yy" + case 232: // columndef: columnid optional_typename columnconstraint_list +#line 723 "sqlite3_parser.yy" { sqlb::Field f(yystack_[2].value.as < std::string > (), yystack_[1].value.as < std::string > ()); sqlb::ConstraintVector table_constraints{}; @@ -2935,274 +2946,274 @@ namespace sqlb { namespace parser { yylhs.value.as < ColumndefData > () = std::make_tuple(f, table_constraints); } -#line 2939 "sqlite3_parser.cpp" +#line 2950 "sqlite3_parser.cpp" break; - case 232: // columndef: columnid optional_typename -#line 782 "sqlite3_parser.yy" + case 233: // columndef: columnid optional_typename +#line 784 "sqlite3_parser.yy" { yylhs.value.as < ColumndefData > () = std::make_tuple(sqlb::Field(yystack_[1].value.as < std::string > (), yystack_[0].value.as < std::string > ()), sqlb::ConstraintVector{}); } -#line 2945 "sqlite3_parser.cpp" +#line 2956 "sqlite3_parser.cpp" break; - case 233: // columndef_list: columndef -#line 786 "sqlite3_parser.yy" + case 234: // columndef_list: columndef +#line 788 "sqlite3_parser.yy" { yylhs.value.as < std::vector > () = {yystack_[0].value.as < ColumndefData > ()}; } -#line 2951 "sqlite3_parser.cpp" +#line 2962 "sqlite3_parser.cpp" break; - case 234: // columndef_list: columndef_list "," columndef -#line 787 "sqlite3_parser.yy" + case 235: // columndef_list: columndef_list "," columndef +#line 789 "sqlite3_parser.yy" { yylhs.value.as < std::vector > () = yystack_[2].value.as < std::vector > (); yylhs.value.as < std::vector > ().push_back(yystack_[0].value.as < ColumndefData > ()); } -#line 2957 "sqlite3_parser.cpp" +#line 2968 "sqlite3_parser.cpp" break; - case 235: // optional_constraintname: %empty -#line 791 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = ""; } -#line 2963 "sqlite3_parser.cpp" - break; - - case 236: // optional_constraintname: "CONSTRAINT" id -#line 792 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2969 "sqlite3_parser.cpp" - break; - - case 237: // optional_constraintname: "CONSTRAINT" "string literal" + case 236: // optional_constraintname: %empty #line 793 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = ""; } +#line 2974 "sqlite3_parser.cpp" + break; + + case 237: // optional_constraintname: "CONSTRAINT" id +#line 794 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 2975 "sqlite3_parser.cpp" +#line 2980 "sqlite3_parser.cpp" break; - case 238: // columnid_list: columnid -#line 797 "sqlite3_parser.yy" + case 238: // optional_constraintname: "CONSTRAINT" "string literal" +#line 795 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 2986 "sqlite3_parser.cpp" + break; + + case 239: // columnid_list: columnid +#line 799 "sqlite3_parser.yy" { yylhs.value.as < sqlb::StringVector > () = sqlb::StringVector(1, yystack_[0].value.as < std::string > ()); } -#line 2981 "sqlite3_parser.cpp" +#line 2992 "sqlite3_parser.cpp" break; - case 239: // columnid_list: columnid_list "," columnid -#line 798 "sqlite3_parser.yy" + case 240: // columnid_list: columnid_list "," columnid +#line 800 "sqlite3_parser.yy" { yylhs.value.as < sqlb::StringVector > () = yystack_[2].value.as < sqlb::StringVector > (); yylhs.value.as < sqlb::StringVector > ().push_back(yystack_[0].value.as < std::string > ()); } -#line 2987 "sqlite3_parser.cpp" +#line 2998 "sqlite3_parser.cpp" break; - case 240: // optional_columnid_with_paren_list: %empty -#line 802 "sqlite3_parser.yy" + case 241: // optional_columnid_with_paren_list: %empty +#line 804 "sqlite3_parser.yy" { yylhs.value.as < sqlb::StringVector > () = sqlb::StringVector(); } -#line 2993 "sqlite3_parser.cpp" +#line 3004 "sqlite3_parser.cpp" break; - case 241: // optional_columnid_with_paren_list: "(" columnid_list ")" -#line 803 "sqlite3_parser.yy" + case 242: // optional_columnid_with_paren_list: "(" columnid_list ")" +#line 805 "sqlite3_parser.yy" { yylhs.value.as < sqlb::StringVector > () = yystack_[1].value.as < sqlb::StringVector > (); } -#line 2999 "sqlite3_parser.cpp" +#line 3010 "sqlite3_parser.cpp" break; - case 242: // fk_clause_part: "ON" "DELETE" "SET" "NULL" -#line 807 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3005 "sqlite3_parser.cpp" - break; - - case 243: // fk_clause_part: "ON" "DELETE" "SET" "DEFAULT" -#line 808 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3011 "sqlite3_parser.cpp" - break; - - case 244: // fk_clause_part: "ON" "DELETE" "CASCADE" + case 243: // fk_clause_part: "ON" "DELETE" "SET" "NULL" #line 809 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3017 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3016 "sqlite3_parser.cpp" break; - case 245: // fk_clause_part: "ON" "DELETE" "RESTRICT" + case 244: // fk_clause_part: "ON" "DELETE" "SET" "DEFAULT" #line 810 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3023 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3022 "sqlite3_parser.cpp" break; - case 246: // fk_clause_part: "ON" "DELETE" "NO" "ACTION" + case 245: // fk_clause_part: "ON" "DELETE" "CASCADE" #line 811 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3029 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3028 "sqlite3_parser.cpp" break; - case 247: // fk_clause_part: "ON" "UPDATE" "SET" "NULL" + case 246: // fk_clause_part: "ON" "DELETE" "RESTRICT" #line 812 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3035 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3034 "sqlite3_parser.cpp" break; - case 248: // fk_clause_part: "ON" "UPDATE" "SET" "DEFAULT" + case 247: // fk_clause_part: "ON" "DELETE" "NO" "ACTION" #line 813 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3041 "sqlite3_parser.cpp" +#line 3040 "sqlite3_parser.cpp" break; - case 249: // fk_clause_part: "ON" "UPDATE" "CASCADE" + case 248: // fk_clause_part: "ON" "UPDATE" "SET" "NULL" #line 814 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3047 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3046 "sqlite3_parser.cpp" break; - case 250: // fk_clause_part: "ON" "UPDATE" "RESTRICT" + case 249: // fk_clause_part: "ON" "UPDATE" "SET" "DEFAULT" #line 815 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3053 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3052 "sqlite3_parser.cpp" break; - case 251: // fk_clause_part: "ON" "UPDATE" "NO" "ACTION" + case 250: // fk_clause_part: "ON" "UPDATE" "CASCADE" #line 816 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3059 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3058 "sqlite3_parser.cpp" break; - case 252: // fk_clause_part: "ON" "INSERT" "SET" "NULL" + case 251: // fk_clause_part: "ON" "UPDATE" "RESTRICT" #line 817 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3065 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3064 "sqlite3_parser.cpp" break; - case 253: // fk_clause_part: "ON" "INSERT" "SET" "DEFAULT" + case 252: // fk_clause_part: "ON" "UPDATE" "NO" "ACTION" #line 818 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3071 "sqlite3_parser.cpp" +#line 3070 "sqlite3_parser.cpp" break; - case 254: // fk_clause_part: "ON" "INSERT" "CASCADE" + case 253: // fk_clause_part: "ON" "INSERT" "SET" "NULL" #line 819 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3077 "sqlite3_parser.cpp" - break; - - case 255: // fk_clause_part: "ON" "INSERT" "RESTRICT" -#line 820 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3083 "sqlite3_parser.cpp" - break; - - case 256: // fk_clause_part: "ON" "INSERT" "NO" "ACTION" -#line 821 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3089 "sqlite3_parser.cpp" +#line 3076 "sqlite3_parser.cpp" break; - case 257: // fk_clause_part: "MATCH" id + case 254: // fk_clause_part: "ON" "INSERT" "SET" "DEFAULT" +#line 820 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3082 "sqlite3_parser.cpp" + break; + + case 255: // fk_clause_part: "ON" "INSERT" "CASCADE" +#line 821 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3088 "sqlite3_parser.cpp" + break; + + case 256: // fk_clause_part: "ON" "INSERT" "RESTRICT" #line 822 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3095 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3094 "sqlite3_parser.cpp" break; - case 258: // fk_clause_part_list: fk_clause_part -#line 826 "sqlite3_parser.yy" + case 257: // fk_clause_part: "ON" "INSERT" "NO" "ACTION" +#line 823 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3100 "sqlite3_parser.cpp" + break; + + case 258: // fk_clause_part: "MATCH" id +#line 824 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3106 "sqlite3_parser.cpp" + break; + + case 259: // fk_clause_part_list: fk_clause_part +#line 828 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 3101 "sqlite3_parser.cpp" +#line 3112 "sqlite3_parser.cpp" break; - case 259: // fk_clause_part_list: fk_clause_part_list fk_clause_part -#line 827 "sqlite3_parser.yy" + case 260: // fk_clause_part_list: fk_clause_part_list fk_clause_part +#line 829 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3107 "sqlite3_parser.cpp" +#line 3118 "sqlite3_parser.cpp" break; - case 260: // optional_fk_clause: %empty -#line 831 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = ""; } -#line 3113 "sqlite3_parser.cpp" - break; - - case 261: // optional_fk_clause: fk_clause_part_list -#line 832 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 3119 "sqlite3_parser.cpp" - break; - - case 262: // optional_fk_clause: fk_clause_part_list "DEFERRABLE" "INITIALLY" "DEFERRED" + case 261: // optional_fk_clause: %empty #line 833 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3125 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = ""; } +#line 3124 "sqlite3_parser.cpp" break; - case 263: // optional_fk_clause: fk_clause_part_list "DEFERRABLE" "INITIALLY" "IMMEDIATE" + case 262: // optional_fk_clause: fk_clause_part_list #line 834 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3131 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 3130 "sqlite3_parser.cpp" break; - case 264: // optional_fk_clause: fk_clause_part_list "DEFERRABLE" + case 263: // optional_fk_clause: fk_clause_part_list "DEFERRABLE" "INITIALLY" "DEFERRED" #line 835 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3137 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3136 "sqlite3_parser.cpp" break; - case 265: // optional_fk_clause: fk_clause_part_list "NOT" "DEFERRABLE" "INITIALLY" "DEFERRED" + case 264: // optional_fk_clause: fk_clause_part_list "DEFERRABLE" "INITIALLY" "IMMEDIATE" #line 836 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " " + yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3143 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3142 "sqlite3_parser.cpp" break; - case 266: // optional_fk_clause: fk_clause_part_list "NOT" "DEFERRABLE" "INITIALLY" "IMMEDIATE" + case 265: // optional_fk_clause: fk_clause_part_list "DEFERRABLE" #line 837 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " " + yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3149 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3148 "sqlite3_parser.cpp" break; - case 267: // optional_fk_clause: fk_clause_part_list "NOT" "DEFERRABLE" + case 266: // optional_fk_clause: fk_clause_part_list "NOT" "DEFERRABLE" "INITIALLY" "DEFERRED" #line 838 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3155 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " " + yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3154 "sqlite3_parser.cpp" break; - case 268: // optional_fk_clause: "DEFERRABLE" "INITIALLY" "DEFERRED" + case 267: // optional_fk_clause: fk_clause_part_list "NOT" "DEFERRABLE" "INITIALLY" "IMMEDIATE" #line 839 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3161 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[4].value.as < std::string > () + " " + yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3160 "sqlite3_parser.cpp" break; - case 269: // optional_fk_clause: "DEFERRABLE" "INITIALLY" "IMMEDIATE" + case 268: // optional_fk_clause: fk_clause_part_list "NOT" "DEFERRABLE" #line 840 "sqlite3_parser.yy" { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3167 "sqlite3_parser.cpp" +#line 3166 "sqlite3_parser.cpp" break; - case 270: // optional_fk_clause: "DEFERRABLE" + case 269: // optional_fk_clause: "DEFERRABLE" "INITIALLY" "DEFERRED" #line 841 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } -#line 3173 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3172 "sqlite3_parser.cpp" break; - case 271: // optional_fk_clause: "NOT" "DEFERRABLE" "INITIALLY" "DEFERRED" + case 270: // optional_fk_clause: "DEFERRABLE" "INITIALLY" "IMMEDIATE" #line 842 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3179 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3178 "sqlite3_parser.cpp" break; - case 272: // optional_fk_clause: "NOT" "DEFERRABLE" "INITIALLY" "IMMEDIATE" + case 271: // optional_fk_clause: "DEFERRABLE" #line 843 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3185 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[0].value.as < std::string > (); } +#line 3184 "sqlite3_parser.cpp" break; - case 273: // optional_fk_clause: "NOT" "DEFERRABLE" + case 272: // optional_fk_clause: "NOT" "DEFERRABLE" "INITIALLY" "DEFERRED" #line 844 "sqlite3_parser.yy" - { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } -#line 3191 "sqlite3_parser.cpp" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3190 "sqlite3_parser.cpp" break; - case 274: // tableconstraint: optional_constraintname "PRIMARY" "KEY" "(" indexed_column_list ")" optional_conflictclause -#line 848 "sqlite3_parser.yy" + case 273: // optional_fk_clause: "NOT" "DEFERRABLE" "INITIALLY" "IMMEDIATE" +#line 845 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[3].value.as < std::string > () + " " + yystack_[2].value.as < std::string > () + " " + yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3196 "sqlite3_parser.cpp" + break; + + case 274: // optional_fk_clause: "NOT" "DEFERRABLE" +#line 846 "sqlite3_parser.yy" + { yylhs.value.as < std::string > () = yystack_[1].value.as < std::string > () + " " + yystack_[0].value.as < std::string > (); } +#line 3202 "sqlite3_parser.cpp" + break; + + case 275: // tableconstraint: optional_constraintname "PRIMARY" "KEY" "(" indexed_column_list ")" optional_conflictclause +#line 850 "sqlite3_parser.yy" { auto pk = std::make_shared(yystack_[2].value.as < sqlb::IndexedColumnVector > ()); pk->setName(yystack_[6].value.as < std::string > ()); pk->setConflictAction(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > () = pk; } -#line 3202 "sqlite3_parser.cpp" +#line 3213 "sqlite3_parser.cpp" break; - case 275: // tableconstraint: optional_constraintname "PRIMARY" "KEY" "(" indexed_column_list "AUTOINCREMENT" ")" optional_conflictclause -#line 854 "sqlite3_parser.yy" + case 276: // tableconstraint: optional_constraintname "PRIMARY" "KEY" "(" indexed_column_list "AUTOINCREMENT" ")" optional_conflictclause +#line 856 "sqlite3_parser.yy" { auto pk = std::make_shared(yystack_[3].value.as < sqlb::IndexedColumnVector > ()); pk->setName(yystack_[7].value.as < std::string > ()); @@ -3210,80 +3221,80 @@ namespace sqlb { namespace parser { pk->setAutoIncrement(true); yylhs.value.as < sqlb::ConstraintPtr > () = pk; } -#line 3214 "sqlite3_parser.cpp" +#line 3225 "sqlite3_parser.cpp" break; - case 276: // tableconstraint: optional_constraintname "UNIQUE" "(" indexed_column_list ")" optional_conflictclause -#line 861 "sqlite3_parser.yy" + case 277: // tableconstraint: optional_constraintname "UNIQUE" "(" indexed_column_list ")" optional_conflictclause +#line 863 "sqlite3_parser.yy" { auto u = std::make_shared(yystack_[2].value.as < sqlb::IndexedColumnVector > ()); u->setName(yystack_[5].value.as < std::string > ()); u->setConflictAction(yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > () = u; } -#line 3225 "sqlite3_parser.cpp" +#line 3236 "sqlite3_parser.cpp" break; - case 277: // tableconstraint: optional_constraintname "CHECK" "(" expr ")" -#line 867 "sqlite3_parser.yy" + case 278: // tableconstraint: optional_constraintname "CHECK" "(" expr ")" +#line 869 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[1].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[4].value.as < std::string > ()); } -#line 3234 "sqlite3_parser.cpp" +#line 3245 "sqlite3_parser.cpp" break; - case 278: // tableconstraint: optional_constraintname "FOREIGN" "KEY" "(" columnid_list ")" "REFERENCES" tableid optional_columnid_with_paren_list optional_fk_clause -#line 871 "sqlite3_parser.yy" + case 279: // tableconstraint: optional_constraintname "FOREIGN" "KEY" "(" columnid_list ")" "REFERENCES" tableid optional_columnid_with_paren_list optional_fk_clause +#line 873 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintPtr > () = std::make_shared(yystack_[2].value.as < std::string > (), yystack_[1].value.as < sqlb::StringVector > (), yystack_[0].value.as < std::string > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setColumnList(yystack_[5].value.as < sqlb::StringVector > ()); yylhs.value.as < sqlb::ConstraintPtr > ()->setName(yystack_[9].value.as < std::string > ()); } -#line 3244 "sqlite3_parser.cpp" +#line 3255 "sqlite3_parser.cpp" break; - case 279: // tableconstraint_list: tableconstraint -#line 879 "sqlite3_parser.yy" - { yylhs.value.as < sqlb::ConstraintVector > () = {yystack_[0].value.as < sqlb::ConstraintPtr > ()}; } -#line 3250 "sqlite3_parser.cpp" - break; - - case 280: // tableconstraint_list: tableconstraint_list "," tableconstraint -#line 880 "sqlite3_parser.yy" - { yylhs.value.as < sqlb::ConstraintVector > () = yystack_[2].value.as < sqlb::ConstraintVector > (); yylhs.value.as < sqlb::ConstraintVector > ().push_back(yystack_[0].value.as < sqlb::ConstraintPtr > ()); } -#line 3256 "sqlite3_parser.cpp" - break; - - case 281: // tableconstraint_list: tableconstraint_list tableconstraint + case 280: // tableconstraint_list: tableconstraint #line 881 "sqlite3_parser.yy" + { yylhs.value.as < sqlb::ConstraintVector > () = {yystack_[0].value.as < sqlb::ConstraintPtr > ()}; } +#line 3261 "sqlite3_parser.cpp" + break; + + case 281: // tableconstraint_list: tableconstraint_list "," tableconstraint +#line 882 "sqlite3_parser.yy" + { yylhs.value.as < sqlb::ConstraintVector > () = yystack_[2].value.as < sqlb::ConstraintVector > (); yylhs.value.as < sqlb::ConstraintVector > ().push_back(yystack_[0].value.as < sqlb::ConstraintPtr > ()); } +#line 3267 "sqlite3_parser.cpp" + break; + + case 282: // tableconstraint_list: tableconstraint_list tableconstraint +#line 883 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintVector > () = yystack_[1].value.as < sqlb::ConstraintVector > (); yylhs.value.as < sqlb::ConstraintVector > ().push_back(yystack_[0].value.as < sqlb::ConstraintPtr > ()); } -#line 3262 "sqlite3_parser.cpp" +#line 3273 "sqlite3_parser.cpp" break; - case 282: // optional_tableconstraint_list: %empty -#line 885 "sqlite3_parser.yy" + case 283: // optional_tableconstraint_list: %empty +#line 887 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintVector > () = {}; } -#line 3268 "sqlite3_parser.cpp" +#line 3279 "sqlite3_parser.cpp" break; - case 283: // optional_tableconstraint_list: "," tableconstraint_list -#line 886 "sqlite3_parser.yy" + case 284: // optional_tableconstraint_list: "," tableconstraint_list +#line 888 "sqlite3_parser.yy" { yylhs.value.as < sqlb::ConstraintVector > () = yystack_[0].value.as < sqlb::ConstraintVector > (); } -#line 3274 "sqlite3_parser.cpp" +#line 3285 "sqlite3_parser.cpp" break; - case 284: // createtable_stmt: "CREATE" optional_temporary "TABLE" optional_if_not_exists tableid_with_uninteresting_schema "AS" select_stmt -#line 890 "sqlite3_parser.yy" + case 285: // createtable_stmt: "CREATE" optional_temporary "TABLE" optional_if_not_exists tableid_with_uninteresting_schema "AS" select_stmt +#line 892 "sqlite3_parser.yy" { yylhs.value.as < sqlb::TablePtr > () = std::make_shared(yystack_[2].value.as < std::string > ()); yylhs.value.as < sqlb::TablePtr > ()->setFullyParsed(false); } -#line 3283 "sqlite3_parser.cpp" +#line 3294 "sqlite3_parser.cpp" break; - case 285: // createtable_stmt: "CREATE" optional_temporary "TABLE" optional_if_not_exists tableid_with_uninteresting_schema "(" columndef_list optional_tableconstraint_list ")" optional_withoutrowid -#line 894 "sqlite3_parser.yy" + case 286: // createtable_stmt: "CREATE" optional_temporary "TABLE" optional_if_not_exists tableid_with_uninteresting_schema "(" columndef_list optional_tableconstraint_list ")" optional_withoutrowid +#line 896 "sqlite3_parser.yy" { yylhs.value.as < sqlb::TablePtr > () = std::make_shared(yystack_[5].value.as < std::string > ()); yylhs.value.as < sqlb::TablePtr > ()->setWithoutRowidTable(yystack_[0].value.as < bool > ()); @@ -3301,11 +3312,11 @@ namespace sqlb { namespace parser { yylhs.value.as < sqlb::TablePtr > ()->addConstraint(i); } } -#line 3305 "sqlite3_parser.cpp" +#line 3316 "sqlite3_parser.cpp" break; -#line 3309 "sqlite3_parser.cpp" +#line 3320 "sqlite3_parser.cpp" default: break; @@ -3654,309 +3665,310 @@ namespace sqlb { namespace parser { } - const short parser::yypact_ninf_ = -341; + const short parser::yypact_ninf_ = -342; - const short parser::yytable_ninf_ = -284; + const short parser::yytable_ninf_ = -285; const short parser::yypact_[] = { - -8, 157, 30, 41, -341, -341, -341, -341, -341, -341, - -59, 23, -26, -341, -341, 68, 68, 68, 59, 2140, - 2140, 2140, 89, -341, -341, -341, -341, -341, -341, -341, - -341, -341, -341, -341, -341, -341, -341, -341, -341, -341, - -341, -341, -341, -341, -341, -341, -341, -341, -341, -341, - -341, -341, -341, -341, -341, -341, -341, -341, -341, -341, - 150, -341, -341, -341, -341, -341, -341, -341, 160, -341, - -341, 45, 100, 17, -341, 2228, 2228, 48, 2228, 2052, - 79, -341, -341, -341, -341, 180, 187, -341, -341, -341, - -341, -341, -341, -341, 2228, -341, 193, -341, -341, 953, - -341, 1409, -341, 1615, -341, 27, 1964, 200, 1409, -341, - 1409, 1409, 1409, 1067, 208, -341, -341, -341, -341, 1409, - -341, 212, -341, -341, -341, -341, -341, -341, 205, -341, - -341, -341, -341, 210, -341, -341, -341, -341, -341, -341, - 3121, 2659, -341, 218, 5, -341, 92, -341, 32, 94, - -341, -18, -341, 36, 113, 265, -341, -341, -341, 1409, - -35, 86, 1409, 3231, 58, 611, 48, -341, 1409, 1409, - 1409, 1409, 1409, 1409, 1409, 1409, 1409, 1409, 1409, 1409, - 1409, 1409, 1409, 1409, 1409, 1409, 1409, 1409, 1409, 48, - 1409, 1707, 1409, -341, 1409, 1409, 146, -341, 1409, 1409, - -341, -341, -341, 117, 1409, 121, 133, -341, -341, 266, - -341, -341, -341, 227, 48, 1523, 211, 167, -341, 178, - 2228, 182, 234, 278, 204, 209, 285, 251, -341, 201, - -341, -341, 453, 1409, -341, 1409, -31, 2736, 294, 297, - 308, 303, -341, 317, 1409, 269, 321, 3121, 128, 128, - 10, 10, 177, 10, 177, 301, 314, 314, 370, 370, - 370, 370, 314, 314, 177, 177, 3231, 2813, -341, 228, - 725, 271, -341, 314, 276, 489, 1409, 1409, 1799, 1409, - 1409, -341, 1409, 3198, 1934, 1409, -341, -341, -341, -341, - -341, 5, 1409, -341, 1409, -341, -341, -341, -341, -341, - -341, 182, -6, 356, 311, -341, 357, 1409, 358, 359, - 1409, -341, -341, 1409, 2890, 1906, 1409, -341, 2228, 250, - 257, -341, 259, -341, 274, -341, 48, 1409, 1409, -341, - 300, 360, 1409, 2228, 1409, 1409, 2967, 2364, 839, 305, - -341, 2446, 2528, 2610, 1409, 3121, 369, 2336, 2418, -341, - 182, 2052, 152, -10, 1409, 2500, 2052, 1409, 307, 3121, - -341, 1409, 3044, 372, 378, 383, 384, -341, -341, 314, - 314, -341, -341, 313, 371, -341, 314, 314, 1409, 1409, - -341, 338, 385, 1409, 2228, 1409, 1409, 1409, 314, -341, - -341, -341, 363, -341, 341, 322, 48, 342, -16, -341, - 183, -341, -341, -341, -341, -341, -341, 2582, -341, 344, - 118, 182, 3121, -341, -341, -341, -341, -341, -341, 1181, - 314, 314, -341, -341, 345, 389, -341, 314, 314, 314, - -341, -341, 2052, -20, -341, 324, 52, 93, 101, 325, - 350, -341, -56, 312, 182, 395, -341, -341, 349, -341, - 1295, -341, -341, -341, 4, -341, 373, -341, -15, -341, - 374, -341, -3, -341, 375, -341, 51, 65, 335, -341, - -341, -341, 2228, -341, 182, -341, -341, 352, -341, -341, - -341, -341, -341, -341, -341, -341, -341, -341, -341, -341, - -341, 69, 356, -341, -341, -341, -341, 152, -341 + -10, 116, 45, 93, -342, -342, -342, -342, -342, -342, + 12, 61, 63, -342, -342, 40, 40, 40, 67, 2242, + 2242, 2242, 100, -342, -342, -342, -342, -342, -342, -342, + -342, -342, -342, -342, -342, -342, -342, -342, -342, -342, + -342, -342, -342, -342, -342, -342, -342, -342, -342, -342, + -342, -342, -342, -342, -342, -342, -342, -342, -342, -342, + -342, 172, -342, -342, -342, -342, -342, -342, -342, 180, + -342, -342, 84, 120, 19, -342, 2331, 2331, -16, 2331, + 2153, 105, -342, -342, -342, -342, 203, 207, -342, -342, + -342, -342, -342, -342, -342, 2331, -342, 208, -342, -342, + 957, -342, 1417, -342, 1625, -342, 103, 2064, 215, 1417, + -342, 1417, 1417, 1417, 1072, 224, -342, -342, -342, -342, + 1417, -342, 227, -342, -342, -342, -342, -342, -342, 121, + -342, -342, -342, -342, 21, -342, -342, -342, -342, -342, + -342, 3225, 2763, -342, 201, 5, -342, -74, -342, 110, + -8, -342, -15, -342, 111, 129, 205, -342, -342, -342, + 1417, -34, 454, 1417, 3335, 8, 612, -16, -342, 1417, + 1417, 1417, 1417, 1417, 1417, 1417, 1417, 1417, 1417, 1417, + 1417, 1417, 1417, 1417, 1417, 1417, 1417, 1417, 1417, 1417, + -16, 1417, 1718, 1417, -342, 1417, 1417, 68, -342, 1417, + 1417, -342, -342, -342, 112, 1417, 113, 128, -342, -342, + 214, -342, -342, -342, 243, -16, 1532, 218, 171, -342, + 185, 2331, 196, 233, 274, 206, 212, 287, 249, -342, + 202, -342, -342, 1919, 1417, -342, 1417, -11, 2840, 291, + 303, 306, 305, -342, 308, 1417, 219, 309, 3225, 164, + 164, 13, 13, 150, 13, 150, 277, 371, 371, 316, + 316, 316, 316, 371, 371, 150, 150, 3335, 2917, -342, + 173, 727, 248, -342, 371, 223, 273, 1417, 1417, 1811, + 1417, 1417, -342, 1417, 3302, 490, 1417, -342, -342, -342, + -342, -342, 5, 1417, -342, 1417, -342, -342, -342, -342, + -342, -342, 196, -7, 317, 278, -342, 319, 1417, 320, + 331, 1417, -342, -342, 1417, 2994, 2009, 1417, -342, 2331, + 221, 222, -342, 226, -342, 250, -342, -16, 1417, 1417, + -342, 251, 333, 1417, 2331, 1417, 1417, 3071, 1947, 842, + 259, -342, 2048, 2468, 2550, 1417, 3225, 339, 2440, 2522, + -342, 196, 2153, 57, -9, 1417, 2604, 2153, 1417, 255, + 3225, -342, 1417, 3148, 341, 342, 344, 345, -342, -342, + 371, 371, -342, -342, 264, 347, -342, 371, 371, 1417, + 1417, -342, 265, 348, 1417, 2331, 1417, 1417, 1417, 371, + -342, -342, -342, 321, -342, 268, 282, -16, 311, -20, + -342, 88, -342, -342, -342, -342, -342, -342, 2686, -342, + 269, 115, 196, 3225, -342, -342, -342, -342, -342, -342, + 1187, 371, 371, -342, -342, 297, 350, -342, 371, 371, + 371, -342, -342, 2153, 44, -342, 285, -2, 11, 36, + 288, 312, -342, 22, 275, 196, 357, -342, -342, 298, + -342, 1302, -342, -342, -342, 73, -342, 334, -342, -30, + -342, 336, -342, -24, -342, 337, -342, 59, 74, 302, + -342, -342, -342, 2331, -342, 196, -342, -342, 301, -342, + -342, -342, -342, -342, -342, -342, -342, -342, -342, -342, + -342, -342, 106, 317, -342, -342, -342, -342, 57, -342 }; const short parser::yydefact_[] = { - 0, 181, 0, 2, 4, 5, 6, 197, 198, 182, - 0, 0, 0, 1, 3, 176, 176, 176, 0, 0, + 0, 182, 0, 2, 4, 5, 6, 198, 199, 183, + 0, 0, 0, 1, 3, 177, 177, 177, 0, 0, 0, 0, 0, 18, 19, 20, 21, 22, 23, 24, - 59, 58, 60, 25, 26, 27, 28, 29, 30, 31, + 60, 59, 61, 25, 26, 27, 28, 29, 30, 31, 32, 35, 37, 36, 33, 34, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 53, 52, 54, 55, 56, 16, 62, 17, 61, 57, - 187, 0, 0, 0, 177, 0, 0, 0, 0, 0, - 0, 53, 61, 186, 185, 192, 0, 65, 64, 66, - 67, 69, 68, 63, 207, 233, 282, 175, 284, 0, - 195, 0, 74, 76, 208, 235, 235, 0, 0, 193, - 0, 0, 0, 0, 23, 14, 13, 15, 12, 0, - 10, 43, 11, 7, 8, 9, 159, 157, 162, 158, - 163, 164, 169, 0, 165, 170, 171, 172, 173, 174, - 120, 178, 189, 0, 0, 75, 0, 229, 235, 212, - 234, 0, 279, 235, 199, 0, 80, 79, 81, 0, - 0, 0, 0, 82, 0, 0, 0, 194, 0, 0, + 52, 54, 53, 55, 56, 57, 16, 63, 17, 62, + 58, 188, 0, 0, 0, 178, 0, 0, 0, 0, + 0, 0, 54, 62, 187, 186, 193, 0, 66, 65, + 67, 68, 70, 69, 64, 208, 234, 283, 176, 285, + 0, 196, 0, 75, 77, 209, 236, 236, 0, 0, + 194, 0, 0, 0, 0, 23, 14, 13, 15, 12, + 0, 10, 43, 11, 7, 8, 9, 160, 158, 163, + 159, 164, 165, 170, 0, 166, 171, 172, 173, 174, + 175, 121, 179, 190, 0, 0, 76, 0, 230, 236, + 213, 235, 0, 280, 236, 200, 0, 81, 80, 82, + 0, 0, 0, 0, 83, 0, 0, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 126, 0, 0, 0, 127, 0, 0, - 179, 180, 188, 183, 0, 0, 0, 73, 72, 0, - 237, 236, 230, 0, 0, 0, 0, 0, 217, 0, - 0, 201, 0, 0, 0, 0, 0, 235, 281, 0, - 285, 166, 0, 0, 152, 0, 0, 0, 0, 0, - 0, 0, 124, 0, 0, 0, 161, 121, 87, 88, - 84, 85, 91, 86, 92, 83, 97, 98, 95, 96, - 93, 94, 99, 100, 89, 90, 102, 0, 168, 105, - 0, 61, 135, 101, 104, 106, 0, 0, 0, 0, - 0, 128, 0, 103, 107, 0, 191, 190, 70, 71, - 77, 0, 0, 226, 0, 224, 221, 222, 223, 220, - 213, 201, 178, 240, 0, 218, 0, 0, 0, 0, - 0, 280, 200, 0, 0, 0, 0, 150, 0, 0, - 0, 153, 0, 125, 0, 122, 0, 0, 0, 131, - 0, 0, 0, 0, 0, 0, 0, 109, 0, 61, - 143, 108, 110, 111, 0, 184, 0, 0, 0, 216, - 201, 0, 260, 0, 0, 0, 0, 0, 0, 147, - 151, 0, 0, 0, 0, 0, 0, 123, 160, 129, - 113, 133, 132, 0, 61, 134, 112, 114, 0, 0, - 139, 0, 0, 0, 0, 0, 0, 0, 115, 78, - 219, 225, 214, 238, 0, 270, 0, 0, 0, 258, - 261, 227, 203, 204, 205, 206, 202, 0, 277, 0, - 0, 201, 148, 149, 167, 155, 156, 154, 138, 0, - 130, 117, 141, 140, 0, 61, 142, 116, 118, 119, - 215, 241, 0, 0, 257, 273, 0, 0, 0, 264, - 0, 259, 209, 0, 201, 0, 276, 136, 0, 146, - 0, 239, 268, 269, 0, 244, 0, 245, 0, 254, - 0, 255, 0, 249, 0, 250, 0, 0, 267, 210, - 211, 228, 0, 274, 201, 137, 144, 0, 271, 272, - 246, 243, 242, 256, 253, 252, 251, 248, 247, 262, - 263, 0, 240, 275, 145, 265, 266, 260, 278 + 0, 0, 0, 0, 127, 0, 0, 0, 128, 0, + 0, 180, 181, 189, 184, 0, 0, 0, 74, 73, + 0, 238, 237, 231, 0, 0, 0, 0, 0, 218, + 0, 0, 202, 0, 0, 0, 0, 0, 236, 282, + 0, 286, 167, 0, 0, 153, 0, 0, 0, 0, + 0, 0, 0, 125, 0, 0, 0, 162, 122, 88, + 89, 85, 86, 92, 87, 93, 84, 98, 99, 96, + 97, 94, 95, 100, 101, 90, 91, 103, 0, 169, + 106, 0, 62, 136, 102, 105, 107, 0, 0, 0, + 0, 0, 129, 0, 104, 108, 0, 192, 191, 71, + 72, 78, 0, 0, 227, 0, 225, 222, 223, 224, + 221, 214, 202, 179, 241, 0, 219, 0, 0, 0, + 0, 0, 281, 201, 0, 0, 0, 0, 151, 0, + 0, 0, 154, 0, 126, 0, 123, 0, 0, 0, + 132, 0, 0, 0, 0, 0, 0, 0, 110, 0, + 62, 144, 109, 111, 112, 0, 185, 0, 0, 0, + 217, 202, 0, 261, 0, 0, 0, 0, 0, 0, + 148, 152, 0, 0, 0, 0, 0, 0, 124, 161, + 130, 114, 134, 133, 0, 62, 135, 113, 115, 0, + 0, 140, 0, 0, 0, 0, 0, 0, 0, 116, + 79, 220, 226, 215, 239, 0, 271, 0, 0, 0, + 259, 262, 228, 204, 205, 206, 207, 203, 0, 278, + 0, 0, 202, 149, 150, 168, 156, 157, 155, 139, + 0, 131, 118, 142, 141, 0, 62, 143, 117, 119, + 120, 216, 242, 0, 0, 258, 274, 0, 0, 0, + 265, 0, 260, 210, 0, 202, 0, 277, 137, 0, + 147, 0, 240, 269, 270, 0, 245, 0, 246, 0, + 255, 0, 256, 0, 250, 0, 251, 0, 0, 268, + 211, 212, 229, 0, 275, 202, 138, 145, 0, 272, + 273, 247, 244, 243, 257, 254, 253, 252, 249, 248, + 263, 264, 0, 241, 276, 146, 266, 267, 261, 279 }; const short parser::yypgoto_[] = { - -341, -341, -341, 190, -19, -13, -66, -340, 192, 120, - -341, 90, -341, -341, -341, -104, -341, -341, -341, -341, - 248, -341, -341, 256, -255, 103, 110, -341, -341, 198, - 213, -286, -341, -341, -341, -341, -341, -298, -341, -341, - -341, 268, -341, 315, -341, -80, 64, -78, 22, -341, - -74, -148, -341, -341, -341 + -342, -342, -342, 157, -19, -13, -67, -341, 158, 83, + -342, 58, -342, -342, -342, -104, -342, -342, -342, -342, + 232, -342, -342, 256, -256, 134, 80, -342, -342, 149, + 183, -290, -342, -342, -342, -342, -342, -299, -342, -342, + -342, 240, -342, 292, -342, -70, 38, -95, -1, -342, + -97, -150, -342, -342, -342 }; const short parser::yydefgoto_[] = { - 0, 2, 3, 127, 128, 129, 70, 94, 208, 209, - 103, 104, 130, 131, 132, 133, 134, 135, 136, 137, - 160, 138, 139, 140, 98, 19, 202, 11, 286, 71, - 142, 143, 4, 100, 5, 12, 230, 305, 105, 471, - 222, 147, 148, 95, 96, 151, 394, 352, 399, 400, - 401, 152, 153, 107, 6 + 0, 2, 3, 128, 129, 130, 71, 95, 209, 210, + 104, 105, 131, 132, 133, 134, 135, 136, 137, 138, + 161, 139, 140, 141, 99, 19, 203, 11, 287, 72, + 143, 144, 4, 101, 5, 12, 231, 306, 106, 472, + 223, 148, 149, 96, 97, 152, 395, 353, 400, 401, + 402, 153, 154, 108, 6 }; const short parser::yytable_[] = { - 68, 68, 68, 349, 155, 228, 69, 69, 69, 83, - 84, 393, 86, 205, 206, 331, 393, 402, 233, 234, - 79, 223, 316, 317, 358, 149, 176, 200, 102, 452, - 13, -232, 481, -232, 436, 1, -231, 145, -231, 15, - -283, 469, 227, 224, 484, 201, 453, 403, 14, 80, - 189, 470, 392, 478, 437, 404, 82, 82, 85, 82, - 92, 245, 69, 69, 482, 69, 93, 225, 149, 146, - 479, 410, 17, 235, 146, 82, 485, 235, 146, 311, - 405, 69, 406, 382, 82, 238, 226, 92, 455, 438, - 69, 16, 451, 93, 169, 170, 171, 172, 487, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 446, 489, 239, 187, 207, 495, 20, - 21, 188, 444, 240, 204, 272, 189, 211, 456, 459, - 488, 490, 18, 213, 214, 496, 22, 463, 171, 172, - 324, 215, 174, 457, 176, 74, 473, 246, 458, 190, - 241, 77, 445, 191, 303, 75, 216, 192, 193, 65, - 194, 195, 67, 196, 197, 76, 330, 198, 189, 460, - 268, 217, 271, 218, 97, 199, 493, 464, 69, 219, - 78, 276, 220, 99, 461, 169, 170, 171, 172, 462, - 101, 174, 465, 176, 159, 293, 297, 466, 221, 106, - 395, 82, 298, 65, 154, 210, 67, 69, 165, 277, - 166, 162, 340, 278, 167, 164, 168, 189, 72, 73, - 279, 280, 203, 229, 204, 281, 285, 396, 373, 397, - 292, 439, 398, 288, 381, 282, 169, 170, 171, 172, - 300, 173, 174, 175, 176, 289, 301, 179, 180, 181, - 182, 302, 102, 185, 186, -196, 7, 8, 396, 339, - 440, 9, 304, 398, 10, 69, 306, 375, 189, 231, - 290, 168, 291, 325, 332, 168, 333, 308, 367, 424, - 168, 307, 309, 328, 169, 170, 171, 172, 310, 173, - 174, 175, 176, 146, 312, 179, 180, 181, 182, 82, - 319, 185, 186, 320, 371, 69, 168, 368, 383, 322, - 384, 411, 321, 204, 374, 448, 189, 418, 426, 168, - 69, 323, 169, 170, 171, 172, 326, 173, 174, 175, - 176, 334, 92, 179, 180, 181, 182, 92, 93, 185, - 186, 189, 422, 93, 168, 431, 477, 432, 443, 449, - 432, 168, 353, 475, 189, 168, 494, 141, 168, 351, - 354, 356, 357, 364, 372, 425, 156, 157, 158, 161, - 365, 69, 366, 389, 419, 163, 414, 434, 169, 170, - 171, 172, 415, 173, 174, 175, 176, 416, 417, 423, - 435, 433, 450, 454, 467, 185, 186, 430, 468, 474, - 472, 480, 483, 486, 491, 296, 492, 299, 363, 236, - 189, 346, 350, 92, 497, 232, 212, 287, 237, 93, - 409, 150, 441, 498, 247, 248, 249, 250, 251, 252, + 69, 69, 69, 350, 229, 156, 70, 70, 70, 84, + 85, 394, 87, 206, 207, 332, 394, 482, 403, 234, + 235, 359, 80, 485, 224, 168, 201, 169, 103, 177, + 437, 214, 215, 1, 456, 239, 150, 146, 66, 216, + 211, 68, 317, 318, 202, 13, 225, 460, 404, 483, + 438, 81, 393, 190, 217, 486, 405, 83, 83, 86, + 83, 93, 246, 70, 70, 240, 70, 94, 411, 218, + 226, 219, 464, 241, 457, 236, 83, 220, 312, 150, + 221, 406, 70, 383, 407, 83, 439, 461, 93, 458, + 227, 70, 452, 453, 94, 459, 66, 222, 236, 68, + 14, 242, 462, 277, 18, 396, 488, -233, 463, -233, + 454, 15, 465, 447, -232, -284, -232, 228, 208, 445, + 470, 205, 479, 490, 166, 273, 167, 466, 212, 16, + 471, 278, 397, 467, 398, 279, 440, 399, 489, 480, + 491, 325, 280, 281, 22, 147, 474, 282, 247, 446, + 20, 21, 147, 147, 304, 496, 75, 283, 170, 171, + 172, 173, 17, 397, 175, 441, 177, 331, 399, 73, + 74, 269, 497, 272, 172, 173, 494, 76, 175, 70, + 177, 170, 171, 172, 173, 77, 174, 175, 176, 177, + 190, 78, 180, 181, 182, 183, 294, 298, 186, 187, + 79, 98, 83, 299, 190, 204, 100, 205, 70, 232, + 102, 169, 341, 190, 107, -197, 7, 8, 291, 155, + 292, 9, 286, 326, 10, 169, 289, 163, 329, 374, + 165, 170, 171, 172, 173, 382, 174, 175, 176, 177, + 230, 290, 180, 181, 182, 183, 293, 301, 186, 187, + 302, 333, 103, 334, 368, 372, 169, 169, 303, 412, + 340, 205, 384, 190, 385, 307, 70, 376, 419, 423, + 169, 169, 432, 444, 433, 433, 305, 308, 335, 309, + 425, 170, 171, 172, 173, 310, 174, 175, 176, 177, + 311, 147, 180, 181, 182, 183, 313, 320, 186, 187, + 83, 450, 476, 169, 169, 495, 70, 169, 369, 321, + 322, 323, 324, 190, 327, 375, 449, 190, 427, 354, + 352, 70, 355, 357, 170, 171, 172, 173, 336, 174, + 175, 176, 177, 93, 358, 365, 366, 373, 93, 94, + 367, 186, 187, 390, 94, 415, 416, 478, 417, 418, + 420, 434, 424, 451, 455, 431, 190, 468, 142, 436, + 469, 475, 481, 473, 484, 487, 426, 157, 158, 159, + 162, 492, 70, 297, 300, 347, 164, 364, 435, 170, + 171, 172, 173, 351, 174, 175, 176, 177, 288, 213, + 180, 181, 182, 183, 237, 410, 186, 187, 498, 151, + 442, 499, 0, 0, 0, 0, 493, 0, 0, 0, + 0, 190, 0, 0, 93, 0, 233, 0, 0, 238, + 94, 0, 0, 0, 0, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, - 263, 264, 265, 266, 267, 0, 269, 0, 273, 0, - 274, 275, 0, 82, 283, 284, 0, 0, 0, 69, - 141, 169, 170, 171, 172, 0, 173, 174, 175, 176, + 263, 264, 265, 266, 267, 268, 0, 270, 0, 274, + 0, 275, 276, 0, 83, 284, 285, 0, 0, 0, + 70, 142, 170, 171, 172, 173, 0, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, - 0, 0, 0, 187, 0, 0, 0, 0, 188, 314, - 0, 315, 0, 189, 0, 0, 0, 169, 170, 171, - 172, 0, 173, 174, 175, 176, 0, 0, 179, 180, - 181, 182, 0, 0, 185, 186, 190, 0, 0, 0, - 191, 0, 0, 0, 192, 193, 0, 194, 195, 189, - 196, 197, 336, 337, 198, 341, 342, 0, 343, 0, - 0, 345, 199, 0, 335, 0, 0, 0, 347, 0, - 348, 0, 0, 0, 313, 0, 0, 0, 0, 0, - 0, 0, 0, 355, 0, 0, 141, 0, 0, 359, - 0, 0, 362, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 369, 370, 0, 0, 0, 0, 0, - 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, - 388, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 407, 0, 0, 141, 108, 242, 0, 412, 0, 110, - 111, 243, 0, 112, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 420, 421, 0, 0, 23, 24, - 25, 427, 428, 429, 26, 0, 0, 27, 113, 114, - 0, 0, 29, 0, 0, 115, 116, 117, 0, 0, - 33, 0, 34, 244, 0, 35, 0, 0, 36, 118, - 37, 38, 0, 39, 40, 0, 41, 42, 0, 0, - 43, 0, 0, 0, 44, 45, 46, 47, 119, 0, - 120, 0, 0, 48, 49, 50, 0, 121, 52, 0, - 53, 54, 55, 56, 57, 58, 0, 0, 59, 0, - 81, 61, 0, 122, 62, 0, 0, 0, 63, 0, - 0, 64, 65, 123, 124, 67, 125, 126, 108, 329, - 0, 0, 0, 110, 111, 0, 0, 112, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 23, 24, 25, 0, 0, 0, 26, 0, - 0, 27, 113, 114, 0, 0, 29, 0, 0, 115, - 116, 117, 0, 0, 33, 0, 34, 0, 0, 35, - 0, 0, 36, 118, 37, 38, 0, 39, 40, 0, - 41, 42, 0, 0, 43, 0, 0, 0, 44, 45, - 46, 47, 119, 0, 120, 0, 0, 48, 49, 50, - 0, 121, 52, 0, 53, 54, 55, 56, 57, 58, - 97, 0, 59, 0, 81, 61, 0, 122, 62, 0, - 0, 0, 63, 0, 0, 64, 65, 123, 124, 67, - 125, 126, 108, 380, 0, 0, 0, 110, 111, 0, - 0, 112, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 23, 24, 25, 0, - 0, 0, 26, 0, 0, 27, 113, 114, 0, 0, - 29, 0, 0, 115, 116, 117, 0, 0, 33, 0, - 34, 0, 0, 35, 0, 0, 36, 118, 37, 38, - 0, 39, 40, 0, 41, 42, 0, 0, 43, 0, - 0, 0, 44, 45, 46, 47, 119, 0, 120, 0, - 0, 48, 49, 50, 0, 121, 52, 0, 53, 54, - 55, 56, 57, 58, 97, 0, 59, 0, 81, 61, - 0, 122, 62, 0, 0, 0, 63, 0, 0, 64, - 65, 123, 124, 67, 125, 126, 108, 109, 0, 0, - 0, 110, 111, 0, 0, 112, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 23, 24, 25, 0, 0, 0, 26, 0, 0, 27, - 113, 114, 0, 0, 29, 0, 0, 115, 116, 117, - 0, 0, 33, 0, 34, 0, 0, 35, 0, 0, - 36, 118, 37, 38, 0, 39, 40, 0, 41, 42, - 0, 0, 43, 0, 0, 0, 44, 45, 46, 47, - 119, 0, 120, 0, 0, 48, 49, 50, 0, 121, - 52, 0, 53, 54, 55, 56, 57, 58, 0, 0, - 59, 0, 81, 61, 0, 122, 62, 0, 0, 0, - 63, 0, 0, 64, 65, 123, 124, 67, 125, 126, - 108, 0, 0, 0, 0, 110, 111, 0, 0, 112, + 187, 0, 0, 0, 188, 0, 0, 0, 0, 189, + 315, 0, 316, 0, 190, 0, 0, 0, 170, 171, + 172, 173, 0, 174, 175, 176, 177, 0, 0, 180, + 181, 182, 183, 0, 0, 186, 187, 191, 0, 0, + 0, 192, 0, 0, 0, 193, 194, 0, 195, 196, + 190, 197, 198, 337, 338, 199, 342, 343, 0, 344, + 0, 0, 346, 200, 0, 345, 0, 0, 0, 348, + 0, 349, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 160, 356, 0, 0, 142, 0, 0, + 360, 0, 0, 363, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 370, 371, 0, 0, 0, 0, + 0, 377, 378, 0, 0, 0, 0, 0, 0, 0, + 0, 389, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 408, 0, 0, 142, 109, 243, 0, 413, 0, + 111, 112, 244, 0, 113, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 421, 422, 0, 0, 23, + 24, 25, 428, 429, 430, 26, 0, 0, 27, 114, + 115, 0, 0, 29, 0, 0, 116, 117, 118, 0, + 0, 33, 0, 34, 245, 0, 35, 0, 0, 36, + 119, 37, 38, 0, 39, 40, 0, 41, 42, 0, + 0, 43, 0, 0, 0, 44, 45, 46, 47, 120, + 0, 121, 0, 0, 48, 49, 50, 0, 122, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 0, 0, + 60, 0, 82, 62, 0, 123, 63, 0, 0, 0, + 64, 0, 0, 65, 66, 124, 125, 68, 126, 127, + 109, 330, 0, 0, 0, 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 25, 0, 0, 0, - 26, 0, 0, 27, 113, 114, 0, 0, 29, 0, - 0, 115, 116, 117, 0, 0, 33, 0, 34, 0, - 0, 35, 0, 0, 36, 118, 37, 38, 0, 39, + 26, 0, 0, 27, 114, 115, 0, 0, 29, 0, + 0, 116, 117, 118, 0, 0, 33, 0, 34, 0, + 0, 35, 0, 0, 36, 119, 37, 38, 0, 39, 40, 0, 41, 42, 0, 0, 43, 0, 0, 0, - 44, 45, 46, 47, 119, 0, 120, 0, 0, 48, - 49, 50, 0, 121, 52, 0, 53, 54, 55, 56, - 57, 58, 0, 0, 59, 0, 81, 61, 0, 122, - 62, 0, 0, 0, 63, 159, 0, 64, 65, 123, - 124, 67, 125, 126, 108, 447, 0, 0, 0, 110, - 111, 0, 0, 112, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, - 25, 0, 0, 0, 26, 0, 0, 27, 113, 114, - 0, 0, 29, 0, 0, 115, 116, 117, 0, 0, - 33, 0, 34, 0, 0, 35, 0, 0, 36, 118, - 37, 38, 0, 39, 40, 0, 41, 42, 0, 0, - 43, 0, 0, 0, 44, 45, 46, 47, 119, 0, - 120, 0, 0, 48, 49, 50, 0, 121, 52, 0, - 53, 54, 55, 56, 57, 58, 0, 0, 59, 0, - 81, 61, 0, 122, 62, 0, 0, 0, 63, 0, - 0, 64, 65, 123, 124, 67, 125, 126, 108, 476, - 0, 0, 0, 110, 111, 0, 0, 112, 0, 0, + 44, 45, 46, 47, 120, 0, 121, 0, 0, 48, + 49, 50, 0, 122, 52, 0, 53, 54, 55, 56, + 57, 58, 59, 98, 0, 60, 0, 82, 62, 0, + 123, 63, 0, 0, 0, 64, 0, 0, 65, 66, + 124, 125, 68, 126, 127, 109, 381, 0, 0, 0, + 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, + 24, 25, 0, 0, 0, 26, 0, 0, 27, 114, + 115, 0, 0, 29, 0, 0, 116, 117, 118, 0, + 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, + 119, 37, 38, 0, 39, 40, 0, 41, 42, 0, + 0, 43, 0, 0, 0, 44, 45, 46, 47, 120, + 0, 121, 0, 0, 48, 49, 50, 0, 122, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 98, 0, + 60, 0, 82, 62, 0, 123, 63, 0, 0, 0, + 64, 0, 0, 65, 66, 124, 125, 68, 126, 127, + 109, 110, 0, 0, 0, 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 23, 24, 25, 0, 0, 0, 26, 0, - 0, 27, 113, 114, 0, 0, 29, 0, 0, 115, - 116, 117, 0, 0, 33, 0, 34, 0, 0, 35, - 0, 0, 36, 118, 37, 38, 0, 39, 40, 0, - 41, 42, 0, 0, 43, 0, 0, 0, 44, 45, - 46, 47, 119, 0, 120, 0, 0, 48, 49, 50, - 0, 121, 52, 0, 53, 54, 55, 56, 57, 58, - 0, 0, 59, 0, 81, 61, 0, 122, 62, 0, - 0, 0, 63, 0, 0, 64, 65, 123, 124, 67, - 125, 126, 108, 0, 0, 0, 0, 110, 111, 0, - 0, 112, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 23, 24, 25, 0, - 0, 0, 26, 0, 0, 27, 113, 114, 0, 0, - 29, 0, 0, 115, 116, 117, 0, 0, 33, 0, - 34, 0, 0, 35, 0, 0, 36, 118, 37, 38, - 0, 39, 40, 0, 41, 42, 0, 0, 43, 0, - 0, 0, 44, 45, 46, 47, 119, 0, 120, 0, - 0, 48, 49, 50, 0, 121, 52, 0, 53, 54, - 55, 56, 57, 58, 0, 0, 59, 0, 81, 61, - 0, 122, 62, 0, 0, 0, 63, 0, 0, 64, - 65, 123, 124, 67, 125, 126, 294, 0, 0, 0, - 0, 205, 206, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 23, 24, 25, 0, 0, 0, + 26, 0, 0, 27, 114, 115, 0, 0, 29, 0, + 0, 116, 117, 118, 0, 0, 33, 0, 34, 0, + 0, 35, 0, 0, 36, 119, 37, 38, 0, 39, + 40, 0, 41, 42, 0, 0, 43, 0, 0, 0, + 44, 45, 46, 47, 120, 0, 121, 0, 0, 48, + 49, 50, 0, 122, 52, 0, 53, 54, 55, 56, + 57, 58, 59, 0, 0, 60, 0, 82, 62, 0, + 123, 63, 0, 0, 0, 64, 0, 0, 65, 66, + 124, 125, 68, 126, 127, 109, 0, 0, 0, 0, + 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, + 24, 25, 0, 0, 0, 26, 0, 0, 27, 114, + 115, 0, 0, 29, 0, 0, 116, 117, 118, 0, + 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, + 119, 37, 38, 0, 39, 40, 0, 41, 42, 0, + 0, 43, 0, 0, 0, 44, 45, 46, 47, 120, + 0, 121, 0, 0, 48, 49, 50, 0, 122, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 0, 0, + 60, 0, 82, 62, 0, 123, 63, 0, 0, 0, + 64, 160, 0, 65, 66, 124, 125, 68, 126, 127, + 109, 448, 0, 0, 0, 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 23, 24, 25, 0, 0, 0, 26, 0, 0, 27, - 0, 28, 0, 0, 29, 0, 0, 115, 116, 117, - 0, 0, 33, 0, 34, 0, 0, 35, 0, 0, - 36, 118, 37, 38, 0, 39, 40, 295, 41, 42, - 0, 0, 43, 0, 0, 0, 44, 45, 46, 47, - 0, 0, 120, 0, 0, 48, 49, 50, 0, 51, - 52, 0, 53, 54, 55, 56, 57, 58, 144, 0, - 59, 0, 81, 61, 0, 122, 62, 0, 0, 0, - 63, 0, 0, 64, 65, 123, 124, 67, 125, 0, + 0, 0, 0, 0, 23, 24, 25, 0, 0, 0, + 26, 0, 0, 27, 114, 115, 0, 0, 29, 0, + 0, 116, 117, 118, 0, 0, 33, 0, 34, 0, + 0, 35, 0, 0, 36, 119, 37, 38, 0, 39, + 40, 0, 41, 42, 0, 0, 43, 0, 0, 0, + 44, 45, 46, 47, 120, 0, 121, 0, 0, 48, + 49, 50, 0, 122, 52, 0, 53, 54, 55, 56, + 57, 58, 59, 0, 0, 60, 0, 82, 62, 0, + 123, 63, 0, 0, 0, 64, 0, 0, 65, 66, + 124, 125, 68, 126, 127, 109, 477, 0, 0, 0, + 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, + 24, 25, 0, 0, 0, 26, 0, 0, 27, 114, + 115, 0, 0, 29, 0, 0, 116, 117, 118, 0, + 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, + 119, 37, 38, 0, 39, 40, 0, 41, 42, 0, + 0, 43, 0, 0, 0, 44, 45, 46, 47, 120, + 0, 121, 0, 0, 48, 49, 50, 0, 122, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 0, 0, + 60, 0, 82, 62, 0, 123, 63, 0, 0, 0, + 64, 0, 0, 65, 66, 124, 125, 68, 126, 127, + 109, 0, 0, 0, 0, 111, 112, 0, 0, 113, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 23, 24, 25, 0, 0, 0, + 26, 0, 0, 27, 114, 115, 0, 0, 29, 0, + 0, 116, 117, 118, 0, 0, 33, 0, 34, 0, + 0, 35, 0, 0, 36, 119, 37, 38, 0, 39, + 40, 0, 41, 42, 0, 0, 43, 0, 0, 0, + 44, 45, 46, 47, 120, 0, 121, 0, 0, 48, + 49, 50, 0, 122, 52, 0, 53, 54, 55, 56, + 57, 58, 59, 0, 0, 60, 0, 82, 62, 0, + 123, 63, 0, 0, 0, 64, 0, 0, 65, 66, + 124, 125, 68, 126, 127, 295, 0, 0, 0, 0, + 206, 207, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, + 24, 25, 0, 0, 0, 26, 0, 0, 27, 0, + 28, 0, 0, 29, 0, 0, 116, 117, 118, 0, + 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, + 119, 37, 38, 0, 39, 40, 296, 41, 42, 0, + 0, 43, 0, 0, 0, 44, 45, 46, 47, 0, + 0, 121, 0, 0, 48, 49, 50, 0, 51, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 145, 0, + 60, 0, 82, 62, 0, 123, 63, 0, 0, 0, + 64, 0, 0, 65, 66, 124, 125, 68, 126, 0, 0, 0, 23, 24, 25, 0, 0, 0, 26, 0, 0, 27, 0, 28, 0, 0, 29, 0, 0, 30, 31, 32, 0, 0, 33, 0, 34, 0, 0, 35, @@ -3964,280 +3976,324 @@ namespace sqlb { namespace parser { 41, 42, 0, 0, 43, 0, 0, 0, 44, 45, 46, 47, 0, 0, 0, 0, 0, 48, 49, 50, 0, 51, 52, 0, 53, 54, 55, 56, 57, 58, - 270, 0, 59, 0, 81, 61, 0, 0, 62, 0, - 0, 0, 63, 0, 0, 64, 65, 0, 66, 67, - 0, 0, 0, 0, 23, 24, 25, 0, 0, 0, - 26, 0, 0, 27, 0, 28, 0, 0, 29, 0, - 0, 30, 31, 32, 0, 0, 33, 0, 34, 0, - 0, 35, 0, 0, 36, 0, 37, 38, 0, 39, - 40, 0, 41, 42, 0, 0, 43, 0, 0, 0, - 44, 45, 46, 47, 0, 0, 0, 0, 0, 48, - 49, 50, 0, 51, 52, 0, 53, 54, 55, 56, - 57, 58, 338, 0, 59, 0, 81, 61, 0, 0, - 62, 0, 0, 0, 63, 0, 0, 64, 65, 0, - 66, 67, 0, 0, 0, 0, 23, 24, 25, 0, - 0, 0, 26, 0, 0, 27, 0, 28, 0, 0, - 29, 0, 0, 30, 31, 32, 0, 0, 33, 0, - 34, 0, 0, 35, 0, 0, 36, 0, 37, 38, - 0, 39, 40, 0, 41, 42, 0, 0, 43, 0, - 0, 0, 44, 45, 46, 47, 0, 0, 0, 0, - 0, 48, 49, 50, 0, 51, 52, 0, 53, 54, - 55, 56, 57, 58, 0, 0, 59, 0, 81, 61, - 0, 0, 62, 0, 0, 0, 63, 0, 0, 64, - 65, 0, 66, 67, 169, 170, 171, 172, 0, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 0, 0, 0, 187, 0, 0, 0, - 0, 188, 169, 170, 171, 172, 189, 173, 174, 175, - 176, 0, 0, 179, 180, 181, 182, 0, 0, 185, - 186, 0, 0, 0, 0, 0, 0, 0, 0, 190, - 0, 0, 0, 191, 189, 0, 0, 192, 193, 0, - 194, 195, 0, 196, 197, 0, 0, 198, 0, 344, - 0, 23, 24, 25, 0, 199, 0, 26, 0, 0, - 27, 0, 28, 0, 0, 29, 146, 361, 87, 88, - 89, 0, 0, 33, 0, 34, 0, 0, 35, 0, - 0, 36, 0, 37, 38, 0, 39, 40, 90, 41, - 42, 0, 0, 43, 0, 0, 0, 44, 45, 46, - 47, 0, 0, 0, 0, 0, 48, 49, 50, 0, - 51, 52, 0, 53, 54, 55, 56, 57, 58, 0, - 0, 59, 0, 81, 61, 0, 0, 62, 0, 0, - 0, 63, 0, 0, 64, 65, 0, 91, 67, 23, - 24, 25, 0, 0, 0, 26, 0, 0, 27, 0, - 28, 0, 0, 29, 0, 0, 87, 88, 89, 0, - 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, - 0, 37, 38, 0, 39, 40, 90, 41, 42, 0, - 0, 43, 0, 0, 0, 44, 45, 46, 47, 0, - 0, 0, 0, 0, 48, 49, 50, 0, 51, 52, - 0, 53, 54, 55, 56, 57, 58, 0, 0, 59, - 0, 81, 61, 0, 0, 62, 0, 0, 0, 63, - 0, 0, 64, 65, 0, 91, 67, 23, 24, 25, - 0, 0, 0, 26, 0, 0, 27, 0, 28, 0, - 0, 29, 0, 0, 30, 31, 32, 0, 0, 33, - 0, 34, 0, 0, 35, 0, 0, 36, 0, 37, - 38, 0, 39, 40, 0, 41, 42, 0, 0, 43, - 0, 0, 0, 44, 45, 46, 47, 0, 0, 0, - 0, 0, 48, 49, 50, 0, 51, 52, 0, 53, - 54, 55, 56, 57, 58, 0, 0, 59, 0, 60, - 61, 0, 0, 62, 0, 0, 0, 63, 0, 0, - 64, 65, 0, 66, 67, 23, 24, 25, 0, 0, + 59, 271, 0, 60, 0, 82, 62, 0, 0, 63, + 0, 0, 0, 64, 0, 0, 65, 66, 0, 67, + 68, 0, 0, 0, 0, 23, 24, 25, 0, 0, 0, 26, 0, 0, 27, 0, 28, 0, 0, 29, 0, 0, 30, 31, 32, 0, 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, 0, 37, 38, 0, 39, 40, 0, 41, 42, 0, 0, 43, 0, 0, 0, 44, 45, 46, 47, 0, 0, 0, 0, 0, 48, 49, 50, 0, 51, 52, 0, 53, 54, 55, - 56, 57, 58, 0, 0, 59, 0, 81, 61, 0, - 0, 62, 0, 0, 0, 63, 0, 0, 64, 65, - 390, 66, 67, 0, 169, 170, 171, 172, 0, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 0, 0, 0, 187, 0, 0, 0, - 0, 188, 169, 170, 171, 172, 189, 173, 174, 175, - 176, 0, 0, 179, 180, 181, 182, 0, 0, 185, - 186, 0, 0, 0, 0, 0, 0, 0, 0, 190, - 0, 0, 0, 191, 189, 0, 0, 192, 193, 0, - 194, 195, 0, 196, 197, 0, 0, 198, 0, 379, - 0, 0, 391, 0, 0, 199, 169, 170, 171, 172, - 0, 173, 174, 175, 176, 177, 178, 179, 180, 181, - 182, 183, 184, 185, 186, 0, 0, 0, 187, 0, - 0, 0, 0, 188, 169, 170, 171, 172, 189, 173, - 174, 175, 176, 0, 0, 179, 180, 181, 182, 0, - 0, 185, 186, 0, 0, 0, 0, 0, 0, 0, - 0, 190, 0, 0, 0, 191, 189, 0, 0, 192, - 193, 0, 194, 195, 0, 196, 197, 0, 0, 198, - 0, 385, 0, 0, 408, 0, 0, 199, 169, 170, - 171, 172, 0, 173, 174, 175, 176, 177, 178, 179, - 180, 181, 182, 183, 184, 185, 186, 0, 0, 0, - 187, 0, 0, 0, 0, 188, 169, 170, 171, 172, - 189, 173, 174, 175, 176, 0, 0, 179, 180, 181, - 182, 0, 0, 185, 186, 0, 0, 0, 0, 0, - 0, 0, 0, 190, 0, 0, 0, 191, 189, 0, - 0, 192, 193, 0, 194, 195, 0, 196, 197, 0, - 0, 198, 0, 386, 0, 0, 442, 0, 0, 199, - 169, 170, 171, 172, 0, 173, 174, 175, 176, 177, - 178, 179, 180, 181, 182, 183, 184, 185, 186, 0, - 0, 0, 187, 0, 0, 0, 0, 188, 169, 170, - 171, 172, 189, 173, 174, 175, 176, 0, 0, 179, - 180, 181, 182, 0, 0, 185, 186, 0, 0, 0, - 0, 0, 0, 0, 0, 190, 0, 0, 0, 191, - 189, 0, 0, 192, 193, 0, 194, 195, 0, 196, - 197, 0, 0, 198, 0, 387, 0, 169, 170, 171, - 172, 199, 173, 174, 175, 176, 177, 178, 179, 180, - 181, 182, 183, 184, 185, 186, 0, 0, 0, 187, - 0, 0, 200, 0, 188, 0, 0, 0, 0, 189, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 190, 0, 0, 0, 191, 0, 0, 0, - 192, 193, 0, 194, 195, 0, 196, 197, 0, 0, - 198, 0, 0, 0, 169, 170, 171, 172, 199, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 0, 0, 0, 187, 0, 318, 0, - 0, 188, 0, 0, 0, 0, 189, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, - 0, 0, 0, 191, 0, 0, 0, 192, 193, 0, - 194, 195, 0, 196, 197, 0, 0, 198, 0, 0, - 0, 169, 170, 171, 172, 199, 173, 174, 175, 176, + 56, 57, 58, 59, 339, 0, 60, 0, 82, 62, + 0, 0, 63, 0, 0, 0, 64, 0, 0, 65, + 66, 0, 67, 68, 0, 0, 0, 0, 23, 24, + 25, 0, 0, 0, 26, 0, 0, 27, 0, 28, + 0, 0, 29, 0, 0, 30, 31, 32, 0, 0, + 33, 0, 34, 0, 0, 35, 0, 0, 36, 0, + 37, 38, 0, 39, 40, 0, 41, 42, 0, 0, + 43, 0, 0, 0, 44, 45, 46, 47, 0, 0, + 0, 0, 0, 48, 49, 50, 0, 51, 52, 0, + 53, 54, 55, 56, 57, 58, 59, 0, 0, 60, + 0, 82, 62, 0, 0, 63, 0, 0, 0, 64, + 0, 0, 65, 66, 0, 67, 68, 170, 171, 172, + 173, 0, 174, 175, 176, 177, 178, 179, 180, 181, + 182, 183, 184, 185, 186, 187, 0, 0, 0, 188, + 0, 0, 0, 0, 189, 170, 171, 172, 173, 190, + 174, 175, 176, 177, 0, 0, 180, 181, 182, 183, + 0, 0, 186, 187, 0, 0, 0, 0, 0, 0, + 0, 0, 191, 0, 0, 0, 192, 190, 0, 0, + 193, 194, 0, 195, 196, 0, 197, 198, 0, 0, + 199, 0, 380, 0, 0, 0, 0, 0, 200, 0, + 0, 0, 0, 0, 0, 0, 0, 170, 171, 172, + 173, 314, 174, 175, 176, 177, 178, 179, 180, 181, + 182, 183, 184, 185, 186, 187, 0, 0, 0, 188, + 0, 0, 0, 0, 189, 0, 0, 0, 0, 190, + 0, 0, 0, 0, 0, 0, 170, 171, 172, 173, + 0, 174, 175, 176, 177, 0, 0, 180, 181, 182, + 183, 0, 191, 186, 187, 0, 192, 0, 0, 0, + 193, 194, 0, 195, 196, 0, 197, 198, 190, 0, + 199, 23, 24, 25, 0, 0, 0, 26, 200, 0, + 27, 0, 28, 386, 0, 29, 147, 0, 88, 89, + 90, 362, 0, 33, 0, 34, 0, 0, 35, 0, + 0, 36, 0, 37, 38, 0, 39, 40, 91, 41, + 42, 0, 0, 43, 0, 0, 0, 44, 45, 46, + 47, 0, 0, 0, 0, 0, 48, 49, 50, 0, + 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, + 0, 0, 60, 0, 82, 62, 0, 0, 63, 0, + 0, 0, 64, 0, 0, 65, 66, 0, 92, 68, + 23, 24, 25, 0, 0, 0, 26, 0, 0, 27, + 0, 28, 0, 0, 29, 0, 0, 88, 89, 90, + 0, 0, 33, 0, 34, 0, 0, 35, 0, 0, + 36, 0, 37, 38, 0, 39, 40, 91, 41, 42, + 0, 0, 43, 0, 0, 0, 44, 45, 46, 47, + 0, 0, 0, 0, 0, 48, 49, 50, 0, 51, + 52, 0, 53, 54, 55, 56, 57, 58, 59, 0, + 0, 60, 0, 82, 62, 0, 0, 63, 0, 0, + 0, 64, 0, 0, 65, 66, 0, 92, 68, 23, + 24, 25, 0, 0, 0, 26, 0, 0, 27, 0, + 28, 0, 0, 29, 0, 0, 30, 31, 32, 0, + 0, 33, 0, 34, 0, 0, 35, 0, 0, 36, + 0, 37, 38, 0, 39, 40, 0, 41, 42, 0, + 0, 43, 0, 0, 0, 44, 45, 46, 47, 0, + 0, 0, 0, 0, 48, 49, 50, 0, 51, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 0, 0, + 60, 0, 61, 62, 0, 0, 63, 0, 0, 0, + 64, 0, 0, 65, 66, 0, 67, 68, 23, 24, + 25, 0, 0, 0, 26, 0, 0, 27, 0, 28, + 0, 0, 29, 0, 0, 30, 31, 32, 0, 0, + 33, 0, 34, 0, 0, 35, 0, 0, 36, 0, + 37, 38, 0, 39, 40, 0, 41, 42, 0, 0, + 43, 0, 0, 0, 44, 45, 46, 47, 0, 0, + 0, 0, 0, 48, 49, 50, 0, 51, 52, 0, + 53, 54, 55, 56, 57, 58, 59, 0, 0, 60, + 0, 82, 62, 0, 0, 63, 0, 0, 0, 64, + 0, 0, 65, 66, 391, 67, 68, 0, 170, 171, + 172, 173, 0, 174, 175, 176, 177, 178, 179, 180, + 181, 182, 183, 184, 185, 186, 187, 0, 0, 0, + 188, 0, 0, 0, 0, 189, 170, 171, 172, 173, + 190, 174, 175, 176, 177, 0, 0, 180, 181, 182, + 183, 0, 0, 186, 187, 0, 0, 0, 0, 0, + 0, 0, 0, 191, 0, 0, 0, 192, 190, 0, + 0, 193, 194, 0, 195, 196, 0, 197, 198, 0, + 0, 199, 0, 387, 0, 0, 392, 0, 0, 200, + 170, 171, 172, 173, 0, 174, 175, 176, 177, 178, + 179, 180, 181, 182, 183, 184, 185, 186, 187, 0, + 0, 0, 188, 0, 0, 0, 0, 189, 170, 171, + 172, 173, 190, 174, 175, 176, 177, 0, 0, 180, + 181, 182, 183, 0, 0, 186, 187, 0, 0, 0, + 0, 0, 0, 0, 0, 191, 0, 0, 0, 192, + 190, 0, 0, 193, 194, 0, 195, 196, 0, 197, + 198, 0, 0, 199, 0, 388, 0, 0, 409, 0, + 0, 200, 170, 171, 172, 173, 0, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, - 0, 0, 0, 187, 327, 0, 0, 0, 188, 0, - 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, + 187, 0, 0, 0, 188, 0, 0, 0, 0, 189, + 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 190, 0, 0, 0, - 191, 0, 0, 0, 192, 193, 0, 194, 195, 0, - 196, 197, 0, 0, 198, 0, 0, 0, 169, 170, - 171, 172, 199, 173, 174, 175, 176, 177, 178, 179, - 180, 181, 182, 183, 184, 185, 186, 0, 0, 0, - 187, 0, 0, 0, 0, 188, 0, 0, 0, 0, - 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 360, 0, 0, 0, 0, 0, - 0, 0, 0, 190, 0, 0, 0, 191, 0, 0, - 0, 192, 193, 0, 194, 195, 0, 196, 197, 0, - 0, 198, 0, 0, 0, 169, 170, 171, 172, 199, - 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, - 183, 184, 185, 186, 0, 0, 0, 187, 378, 0, - 0, 0, 188, 0, 0, 0, 0, 189, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, + 0, 192, 0, 0, 0, 193, 194, 0, 195, 196, + 0, 197, 198, 0, 0, 199, 0, 0, 0, 0, + 443, 0, 0, 200, 170, 171, 172, 173, 0, 174, + 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, + 185, 186, 187, 0, 0, 0, 188, 0, 0, 0, + 0, 189, 0, 0, 0, 0, 190, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, + 0, 0, 0, 192, 0, 0, 0, 193, 194, 0, + 195, 196, 0, 197, 198, 0, 0, 199, 0, 0, + 0, 170, 171, 172, 173, 200, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, + 0, 0, 0, 188, 0, 0, 201, 0, 189, 0, + 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, + 192, 0, 0, 0, 193, 194, 0, 195, 196, 0, + 197, 198, 0, 0, 199, 0, 0, 0, 170, 171, + 172, 173, 200, 174, 175, 176, 177, 178, 179, 180, + 181, 182, 183, 184, 185, 186, 187, 0, 0, 0, + 188, 0, 319, 0, 0, 189, 0, 0, 0, 0, + 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 191, 0, 0, 0, 192, 0, 0, + 0, 193, 194, 0, 195, 196, 0, 197, 198, 0, + 0, 199, 0, 0, 0, 170, 171, 172, 173, 200, + 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, + 184, 185, 186, 187, 0, 0, 0, 188, 328, 0, + 0, 0, 189, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 190, 0, 0, 0, 191, 0, 0, 0, 192, 193, - 0, 194, 195, 0, 196, 197, 0, 0, 198, 0, - 0, 0, 169, 170, 171, 172, 199, 173, 174, 175, + 191, 0, 0, 0, 192, 0, 0, 0, 193, 194, + 0, 195, 196, 0, 197, 198, 0, 0, 199, 0, + 0, 0, 170, 171, 172, 173, 200, 174, 175, 176, + 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, + 187, 0, 0, 0, 188, 0, 0, 0, 0, 189, + 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 361, 0, + 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, + 0, 192, 0, 0, 0, 193, 194, 0, 195, 196, + 0, 197, 198, 0, 0, 199, 0, 0, 0, 170, + 171, 172, 173, 200, 174, 175, 176, 177, 178, 179, + 180, 181, 182, 183, 184, 185, 186, 187, 0, 0, + 0, 188, 379, 0, 0, 0, 189, 0, 0, 0, + 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 191, 0, 0, 0, 192, 0, + 0, 0, 193, 194, 0, 195, 196, 0, 197, 198, + 0, 0, 199, 0, 0, 0, 170, 171, 172, 173, + 200, 174, 175, 176, 177, 178, 179, 180, 181, 182, + 183, 184, 185, 186, 187, 0, 0, 0, 188, 0, + 0, 0, 0, 189, 0, 0, 0, 0, 190, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 414, 0, 0, 0, 0, 0, 0, 0, + 0, 191, 0, 0, 0, 192, 0, 0, 0, 193, + 194, 0, 195, 196, 0, 197, 198, 0, 0, 199, + 0, 0, 0, 170, 171, 172, 173, 200, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, - 186, 0, 0, 0, 187, 0, 0, 0, 0, 188, - 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 413, 0, - 0, 0, 0, 0, 0, 0, 0, 190, 0, 0, - 0, 191, 0, 0, 0, 192, 193, 0, 194, 195, - 0, 196, 197, 0, 0, 198, 0, 0, 0, 169, - 170, 171, 172, 199, 173, 174, 175, 176, 177, 178, - 179, 180, 181, 182, 183, 184, 185, 186, 0, 0, - 0, 187, 0, 0, 0, 0, 188, 0, 0, 0, - 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, + 186, 187, 0, 0, 0, 188, 0, 0, 0, 0, + 189, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 190, 0, 0, 0, 191, 0, - 0, 0, 192, 193, 0, 194, 195, 0, 196, 197, - 0, 0, 198, 0, 0, 0, 169, 170, 171, 172, - 199, 173, 174, 175, 176, 177, 178, 179, 180, 181, - 182, 183, 184, 185, 186, 0, 0, 0, 187, 0, - 0, 0, 0, 188, 0, 0, 0, 0, 189, 169, - 170, 171, 172, 0, 173, 174, 175, 176, 177, 178, - 179, 180, 181, 182, 183, 184, 185, 186, 0, 0, - 0, 190, 0, 0, 0, 191, 188, 0, 0, 192, - 193, 189, 194, 195, 0, 196, 197, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 199, 0, 0, - 0, 0, 0, 0, 190, 0, 0, 0, 191, 0, - 0, 0, 192, 193, 0, 194, 195, 0, 196, 197, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 199 + 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, + 0, 0, 192, 0, 0, 0, 193, 194, 0, 195, + 196, 0, 197, 198, 0, 0, 199, 0, 0, 0, + 170, 171, 172, 173, 200, 174, 175, 176, 177, 178, + 179, 180, 181, 182, 183, 184, 185, 186, 187, 0, + 0, 0, 188, 0, 0, 0, 0, 189, 0, 0, + 0, 0, 190, 170, 171, 172, 173, 0, 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, + 186, 187, 0, 0, 0, 191, 0, 0, 0, 192, + 189, 0, 0, 193, 194, 190, 195, 196, 0, 197, + 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 200, 0, 0, 0, 0, 0, 0, 191, 0, + 0, 0, 192, 0, 0, 0, 193, 194, 0, 195, + 196, 0, 197, 198, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 200 }; const short parser::yycheck_[] = { - 19, 20, 21, 301, 108, 153, 19, 20, 21, 75, - 76, 351, 78, 8, 9, 270, 356, 27, 53, 54, - 3, 39, 53, 54, 310, 105, 16, 33, 94, 49, - 0, 4, 47, 6, 50, 43, 4, 103, 6, 98, - 4, 97, 6, 61, 47, 51, 66, 57, 7, 32, - 40, 107, 350, 49, 70, 65, 75, 76, 77, 78, - 79, 165, 75, 76, 79, 78, 79, 85, 148, 42, - 66, 357, 98, 108, 42, 94, 79, 108, 42, 227, - 90, 94, 92, 338, 103, 27, 104, 106, 36, 105, - 103, 68, 432, 106, 8, 9, 10, 11, 47, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 411, 49, 57, 30, 112, 49, 16, - 17, 35, 4, 65, 6, 191, 40, 146, 76, 36, - 79, 66, 64, 39, 40, 66, 77, 36, 10, 11, - 244, 47, 14, 91, 16, 56, 444, 166, 96, 63, - 92, 106, 34, 67, 220, 5, 62, 71, 72, 111, - 74, 75, 114, 77, 78, 5, 270, 81, 40, 76, - 189, 77, 191, 79, 95, 89, 474, 76, 191, 85, - 80, 35, 88, 3, 91, 8, 9, 10, 11, 96, - 3, 14, 91, 16, 108, 214, 215, 96, 104, 6, - 48, 220, 215, 111, 4, 113, 114, 220, 3, 63, - 5, 3, 278, 67, 4, 3, 6, 40, 20, 21, - 74, 75, 4, 110, 6, 79, 109, 75, 332, 77, - 3, 48, 80, 112, 338, 89, 8, 9, 10, 11, - 29, 13, 14, 15, 16, 112, 79, 19, 20, 21, - 22, 73, 318, 25, 26, 98, 99, 100, 75, 278, - 77, 104, 80, 80, 107, 278, 32, 333, 40, 4, - 4, 6, 6, 4, 3, 6, 5, 73, 4, 383, - 6, 3, 73, 55, 8, 9, 10, 11, 3, 13, - 14, 15, 16, 42, 93, 19, 20, 21, 22, 318, - 6, 25, 26, 6, 4, 318, 6, 326, 3, 6, - 5, 4, 4, 6, 333, 419, 40, 4, 384, 6, - 333, 4, 8, 9, 10, 11, 5, 13, 14, 15, - 16, 55, 351, 19, 20, 21, 22, 356, 351, 25, - 26, 40, 4, 356, 6, 4, 450, 6, 4, 4, - 6, 6, 41, 4, 40, 6, 4, 101, 6, 3, - 3, 3, 3, 113, 4, 384, 110, 111, 112, 113, - 113, 384, 113, 4, 3, 119, 4, 396, 8, 9, - 10, 11, 4, 13, 14, 15, 16, 4, 4, 4, - 48, 69, 3, 69, 69, 25, 26, 34, 48, 4, - 88, 28, 28, 28, 69, 215, 472, 215, 318, 161, - 40, 291, 302, 432, 492, 159, 148, 204, 162, 432, - 356, 106, 400, 497, 168, 169, 170, 171, 172, 173, + 19, 20, 21, 302, 154, 109, 19, 20, 21, 76, + 77, 352, 79, 8, 9, 271, 357, 47, 27, 53, + 54, 311, 3, 47, 39, 4, 33, 6, 95, 16, + 50, 39, 40, 43, 36, 27, 106, 104, 112, 47, + 114, 115, 53, 54, 51, 0, 61, 36, 57, 79, + 70, 32, 351, 40, 62, 79, 65, 76, 77, 78, + 79, 80, 166, 76, 77, 57, 79, 80, 358, 77, + 85, 79, 36, 65, 76, 109, 95, 85, 228, 149, + 88, 90, 95, 339, 93, 104, 106, 76, 107, 91, + 105, 104, 433, 49, 107, 97, 112, 105, 109, 115, + 7, 93, 91, 35, 64, 48, 47, 4, 97, 6, + 66, 99, 76, 412, 4, 4, 6, 6, 113, 4, + 98, 6, 49, 49, 3, 192, 5, 91, 147, 68, + 108, 63, 75, 97, 77, 67, 48, 80, 79, 66, + 66, 245, 74, 75, 77, 42, 445, 79, 167, 34, + 16, 17, 42, 42, 221, 49, 56, 89, 8, 9, + 10, 11, 99, 75, 14, 77, 16, 271, 80, 20, + 21, 190, 66, 192, 10, 11, 475, 5, 14, 192, + 16, 8, 9, 10, 11, 5, 13, 14, 15, 16, + 40, 107, 19, 20, 21, 22, 215, 216, 25, 26, + 80, 96, 221, 216, 40, 4, 3, 6, 221, 4, + 3, 6, 279, 40, 6, 99, 100, 101, 4, 4, + 6, 105, 110, 4, 108, 6, 113, 3, 55, 333, + 3, 8, 9, 10, 11, 339, 13, 14, 15, 16, + 111, 113, 19, 20, 21, 22, 3, 29, 25, 26, + 79, 3, 319, 5, 4, 4, 6, 6, 73, 4, + 279, 6, 3, 40, 5, 32, 279, 334, 4, 4, + 6, 6, 4, 4, 6, 6, 80, 3, 55, 73, + 384, 8, 9, 10, 11, 73, 13, 14, 15, 16, + 3, 42, 19, 20, 21, 22, 94, 6, 25, 26, + 319, 4, 4, 6, 6, 4, 319, 6, 327, 6, + 4, 6, 4, 40, 5, 334, 420, 40, 385, 41, + 3, 334, 3, 3, 8, 9, 10, 11, 55, 13, + 14, 15, 16, 352, 3, 114, 114, 4, 357, 352, + 114, 25, 26, 4, 357, 4, 4, 451, 4, 4, + 3, 69, 4, 3, 69, 34, 40, 69, 102, 48, + 48, 4, 28, 88, 28, 28, 385, 111, 112, 113, + 114, 69, 385, 216, 216, 292, 120, 319, 397, 8, + 9, 10, 11, 303, 13, 14, 15, 16, 205, 149, + 19, 20, 21, 22, 162, 357, 25, 26, 493, 107, + 401, 498, -1, -1, -1, -1, 473, -1, -1, -1, + -1, 40, -1, -1, 433, -1, 160, -1, -1, 163, + 433, -1, -1, -1, -1, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, 188, -1, 190, -1, 192, -1, - 194, 195, -1, 472, 198, 199, -1, -1, -1, 472, - 204, 8, 9, 10, 11, -1, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - -1, -1, -1, 30, -1, -1, -1, -1, 35, 233, - -1, 235, -1, 40, -1, -1, -1, 8, 9, 10, - 11, -1, 13, 14, 15, 16, -1, -1, 19, 20, - 21, 22, -1, -1, 25, 26, 63, -1, -1, -1, - 67, -1, -1, -1, 71, 72, -1, 74, 75, 40, - 77, 78, 276, 277, 81, 279, 280, -1, 282, -1, - -1, 285, 89, -1, 55, -1, -1, -1, 292, -1, - 294, -1, -1, -1, 101, -1, -1, -1, -1, -1, - -1, -1, -1, 307, -1, -1, 310, -1, -1, 313, - -1, -1, 316, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 327, 328, -1, -1, -1, -1, -1, - 334, 335, -1, -1, -1, -1, -1, -1, -1, -1, - 344, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 354, -1, -1, 357, 3, 4, -1, 361, -1, 8, - 9, 10, -1, 12, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 378, 379, -1, -1, 27, 28, - 29, 385, 386, 387, 33, -1, -1, 36, 37, 38, - -1, -1, 41, -1, -1, 44, 45, 46, -1, -1, - 49, -1, 51, 52, -1, 54, -1, -1, 57, 58, - 59, 60, -1, 62, 63, -1, 65, 66, -1, -1, - 69, -1, -1, -1, 73, 74, 75, 76, 77, -1, - 79, -1, -1, 82, 83, 84, -1, 86, 87, -1, - 89, 90, 91, 92, 93, 94, -1, -1, 97, -1, - 99, 100, -1, 102, 103, -1, -1, -1, 107, -1, - -1, 110, 111, 112, 113, 114, 115, 116, 3, 4, - -1, -1, -1, 8, 9, -1, -1, 12, -1, -1, + 184, 185, 186, 187, 188, 189, -1, 191, -1, 193, + -1, 195, 196, -1, 473, 199, 200, -1, -1, -1, + 473, 205, 8, 9, 10, 11, -1, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, -1, -1, -1, 30, -1, -1, -1, -1, 35, + 234, -1, 236, -1, 40, -1, -1, -1, 8, 9, + 10, 11, -1, 13, 14, 15, 16, -1, -1, 19, + 20, 21, 22, -1, -1, 25, 26, 63, -1, -1, + -1, 67, -1, -1, -1, 71, 72, -1, 74, 75, + 40, 77, 78, 277, 278, 81, 280, 281, -1, 283, + -1, -1, 286, 89, -1, 55, -1, -1, -1, 293, + -1, 295, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 109, 308, -1, -1, 311, -1, -1, + 314, -1, -1, 317, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 328, 329, -1, -1, -1, -1, + -1, 335, 336, -1, -1, -1, -1, -1, -1, -1, + -1, 345, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 355, -1, -1, 358, 3, 4, -1, 362, -1, + 8, 9, 10, -1, 12, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 379, 380, -1, -1, 27, + 28, 29, 386, 387, 388, 33, -1, -1, 36, 37, + 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, + -1, 49, -1, 51, 52, -1, 54, -1, -1, 57, + 58, 59, 60, -1, 62, 63, -1, 65, 66, -1, + -1, 69, -1, -1, -1, 73, 74, 75, 76, 77, + -1, 79, -1, -1, 82, 83, 84, -1, 86, 87, + -1, 89, 90, 91, 92, 93, 94, 95, -1, -1, + 98, -1, 100, 101, -1, 103, 104, -1, -1, -1, + 108, -1, -1, 111, 112, 113, 114, 115, 116, 117, + 3, 4, -1, -1, -1, 8, 9, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 27, 28, 29, -1, -1, -1, 33, -1, - -1, 36, 37, 38, -1, -1, 41, -1, -1, 44, - 45, 46, -1, -1, 49, -1, 51, -1, -1, 54, - -1, -1, 57, 58, 59, 60, -1, 62, 63, -1, - 65, 66, -1, -1, 69, -1, -1, -1, 73, 74, - 75, 76, 77, -1, 79, -1, -1, 82, 83, 84, - -1, 86, 87, -1, 89, 90, 91, 92, 93, 94, - 95, -1, 97, -1, 99, 100, -1, 102, 103, -1, - -1, -1, 107, -1, -1, 110, 111, 112, 113, 114, - 115, 116, 3, 4, -1, -1, -1, 8, 9, -1, - -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 27, 28, 29, -1, - -1, -1, 33, -1, -1, 36, 37, 38, -1, -1, - 41, -1, -1, 44, 45, 46, -1, -1, 49, -1, - 51, -1, -1, 54, -1, -1, 57, 58, 59, 60, - -1, 62, 63, -1, 65, 66, -1, -1, 69, -1, - -1, -1, 73, 74, 75, 76, 77, -1, 79, -1, - -1, 82, 83, 84, -1, 86, 87, -1, 89, 90, - 91, 92, 93, 94, 95, -1, 97, -1, 99, 100, - -1, 102, 103, -1, -1, -1, 107, -1, -1, 110, - 111, 112, 113, 114, 115, 116, 3, 4, -1, -1, - -1, 8, 9, -1, -1, 12, -1, -1, -1, -1, + -1, -1, -1, -1, 27, 28, 29, -1, -1, -1, + 33, -1, -1, 36, 37, 38, -1, -1, 41, -1, + -1, 44, 45, 46, -1, -1, 49, -1, 51, -1, + -1, 54, -1, -1, 57, 58, 59, 60, -1, 62, + 63, -1, 65, 66, -1, -1, 69, -1, -1, -1, + 73, 74, 75, 76, 77, -1, 79, -1, -1, 82, + 83, 84, -1, 86, 87, -1, 89, 90, 91, 92, + 93, 94, 95, 96, -1, 98, -1, 100, 101, -1, + 103, 104, -1, -1, -1, 108, -1, -1, 111, 112, + 113, 114, 115, 116, 117, 3, 4, -1, -1, -1, + 8, 9, -1, -1, 12, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, + 28, 29, -1, -1, -1, 33, -1, -1, 36, 37, + 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, + -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, + 58, 59, 60, -1, 62, 63, -1, 65, 66, -1, + -1, 69, -1, -1, -1, 73, 74, 75, 76, 77, + -1, 79, -1, -1, 82, 83, 84, -1, 86, 87, + -1, 89, 90, 91, 92, 93, 94, 95, 96, -1, + 98, -1, 100, 101, -1, 103, 104, -1, -1, -1, + 108, -1, -1, 111, 112, 113, 114, 115, 116, 117, + 3, 4, -1, -1, -1, 8, 9, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 27, 28, 29, -1, -1, -1, 33, -1, -1, 36, - 37, 38, -1, -1, 41, -1, -1, 44, 45, 46, - -1, -1, 49, -1, 51, -1, -1, 54, -1, -1, - 57, 58, 59, 60, -1, 62, 63, -1, 65, 66, - -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, - 77, -1, 79, -1, -1, 82, 83, 84, -1, 86, - 87, -1, 89, 90, 91, 92, 93, 94, -1, -1, - 97, -1, 99, 100, -1, 102, 103, -1, -1, -1, - 107, -1, -1, 110, 111, 112, 113, 114, 115, 116, + -1, -1, -1, -1, 27, 28, 29, -1, -1, -1, + 33, -1, -1, 36, 37, 38, -1, -1, 41, -1, + -1, 44, 45, 46, -1, -1, 49, -1, 51, -1, + -1, 54, -1, -1, 57, 58, 59, 60, -1, 62, + 63, -1, 65, 66, -1, -1, 69, -1, -1, -1, + 73, 74, 75, 76, 77, -1, 79, -1, -1, 82, + 83, 84, -1, 86, 87, -1, 89, 90, 91, 92, + 93, 94, 95, -1, -1, 98, -1, 100, 101, -1, + 103, 104, -1, -1, -1, 108, -1, -1, 111, 112, + 113, 114, 115, 116, 117, 3, -1, -1, -1, -1, + 8, 9, -1, -1, 12, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, + 28, 29, -1, -1, -1, 33, -1, -1, 36, 37, + 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, + -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, + 58, 59, 60, -1, 62, 63, -1, 65, 66, -1, + -1, 69, -1, -1, -1, 73, 74, 75, 76, 77, + -1, 79, -1, -1, 82, 83, 84, -1, 86, 87, + -1, 89, 90, 91, 92, 93, 94, 95, -1, -1, + 98, -1, 100, 101, -1, 103, 104, -1, -1, -1, + 108, 109, -1, 111, 112, 113, 114, 115, 116, 117, + 3, 4, -1, -1, -1, 8, 9, -1, -1, 12, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 27, 28, 29, -1, -1, -1, + 33, -1, -1, 36, 37, 38, -1, -1, 41, -1, + -1, 44, 45, 46, -1, -1, 49, -1, 51, -1, + -1, 54, -1, -1, 57, 58, 59, 60, -1, 62, + 63, -1, 65, 66, -1, -1, 69, -1, -1, -1, + 73, 74, 75, 76, 77, -1, 79, -1, -1, 82, + 83, 84, -1, 86, 87, -1, 89, 90, 91, 92, + 93, 94, 95, -1, -1, 98, -1, 100, 101, -1, + 103, 104, -1, -1, -1, 108, -1, -1, 111, 112, + 113, 114, 115, 116, 117, 3, 4, -1, -1, -1, + 8, 9, -1, -1, 12, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, + 28, 29, -1, -1, -1, 33, -1, -1, 36, 37, + 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, + -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, + 58, 59, 60, -1, 62, 63, -1, 65, 66, -1, + -1, 69, -1, -1, -1, 73, 74, 75, 76, 77, + -1, 79, -1, -1, 82, 83, 84, -1, 86, 87, + -1, 89, 90, 91, 92, 93, 94, 95, -1, -1, + 98, -1, 100, 101, -1, 103, 104, -1, -1, -1, + 108, -1, -1, 111, 112, 113, 114, 115, 116, 117, 3, -1, -1, -1, -1, 8, 9, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, 28, 29, -1, -1, -1, @@ -4247,54 +4303,20 @@ namespace sqlb { namespace parser { 63, -1, 65, 66, -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, 77, -1, 79, -1, -1, 82, 83, 84, -1, 86, 87, -1, 89, 90, 91, 92, - 93, 94, -1, -1, 97, -1, 99, 100, -1, 102, - 103, -1, -1, -1, 107, 108, -1, 110, 111, 112, - 113, 114, 115, 116, 3, 4, -1, -1, -1, 8, - 9, -1, -1, 12, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 27, 28, - 29, -1, -1, -1, 33, -1, -1, 36, 37, 38, - -1, -1, 41, -1, -1, 44, 45, 46, -1, -1, - 49, -1, 51, -1, -1, 54, -1, -1, 57, 58, - 59, 60, -1, 62, 63, -1, 65, 66, -1, -1, - 69, -1, -1, -1, 73, 74, 75, 76, 77, -1, - 79, -1, -1, 82, 83, 84, -1, 86, 87, -1, - 89, 90, 91, 92, 93, 94, -1, -1, 97, -1, - 99, 100, -1, 102, 103, -1, -1, -1, 107, -1, - -1, 110, 111, 112, 113, 114, 115, 116, 3, 4, - -1, -1, -1, 8, 9, -1, -1, 12, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 27, 28, 29, -1, -1, -1, 33, -1, - -1, 36, 37, 38, -1, -1, 41, -1, -1, 44, - 45, 46, -1, -1, 49, -1, 51, -1, -1, 54, - -1, -1, 57, 58, 59, 60, -1, 62, 63, -1, - 65, 66, -1, -1, 69, -1, -1, -1, 73, 74, - 75, 76, 77, -1, 79, -1, -1, 82, 83, 84, - -1, 86, 87, -1, 89, 90, 91, 92, 93, 94, - -1, -1, 97, -1, 99, 100, -1, 102, 103, -1, - -1, -1, 107, -1, -1, 110, 111, 112, 113, 114, - 115, 116, 3, -1, -1, -1, -1, 8, 9, -1, - -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 27, 28, 29, -1, - -1, -1, 33, -1, -1, 36, 37, 38, -1, -1, - 41, -1, -1, 44, 45, 46, -1, -1, 49, -1, - 51, -1, -1, 54, -1, -1, 57, 58, 59, 60, - -1, 62, 63, -1, 65, 66, -1, -1, 69, -1, - -1, -1, 73, 74, 75, 76, 77, -1, 79, -1, - -1, 82, 83, 84, -1, 86, 87, -1, 89, 90, - 91, 92, 93, 94, -1, -1, 97, -1, 99, 100, - -1, 102, 103, -1, -1, -1, 107, -1, -1, 110, - 111, 112, 113, 114, 115, 116, 3, -1, -1, -1, - -1, 8, 9, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 27, 28, 29, -1, -1, -1, 33, -1, -1, 36, - -1, 38, -1, -1, 41, -1, -1, 44, 45, 46, - -1, -1, 49, -1, 51, -1, -1, 54, -1, -1, - 57, 58, 59, 60, -1, 62, 63, 64, 65, 66, - -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, - -1, -1, 79, -1, -1, 82, 83, 84, -1, 86, - 87, -1, 89, 90, 91, 92, 93, 94, 3, -1, - 97, -1, 99, 100, -1, 102, 103, -1, -1, -1, - 107, -1, -1, 110, 111, 112, 113, 114, 115, -1, + 93, 94, 95, -1, -1, 98, -1, 100, 101, -1, + 103, 104, -1, -1, -1, 108, -1, -1, 111, 112, + 113, 114, 115, 116, 117, 3, -1, -1, -1, -1, + 8, 9, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, + 28, 29, -1, -1, -1, 33, -1, -1, 36, -1, + 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, + -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, + 58, 59, 60, -1, 62, 63, 64, 65, 66, -1, + -1, 69, -1, -1, -1, 73, 74, 75, 76, -1, + -1, 79, -1, -1, 82, 83, 84, -1, 86, 87, + -1, 89, 90, 91, 92, 93, 94, 95, 3, -1, + 98, -1, 100, 101, -1, 103, 104, -1, -1, -1, + 108, -1, -1, 111, 112, 113, 114, 115, 116, -1, -1, -1, 27, 28, 29, -1, -1, -1, 33, -1, -1, 36, -1, 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, -1, 49, -1, 51, -1, -1, 54, @@ -4302,86 +4324,79 @@ namespace sqlb { namespace parser { 65, 66, -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, -1, -1, -1, -1, -1, 82, 83, 84, -1, 86, 87, -1, 89, 90, 91, 92, 93, 94, - 3, -1, 97, -1, 99, 100, -1, -1, 103, -1, - -1, -1, 107, -1, -1, 110, 111, -1, 113, 114, - -1, -1, -1, -1, 27, 28, 29, -1, -1, -1, - 33, -1, -1, 36, -1, 38, -1, -1, 41, -1, - -1, 44, 45, 46, -1, -1, 49, -1, 51, -1, - -1, 54, -1, -1, 57, -1, 59, 60, -1, 62, - 63, -1, 65, 66, -1, -1, 69, -1, -1, -1, - 73, 74, 75, 76, -1, -1, -1, -1, -1, 82, - 83, 84, -1, 86, 87, -1, 89, 90, 91, 92, - 93, 94, 3, -1, 97, -1, 99, 100, -1, -1, - 103, -1, -1, -1, 107, -1, -1, 110, 111, -1, - 113, 114, -1, -1, -1, -1, 27, 28, 29, -1, - -1, -1, 33, -1, -1, 36, -1, 38, -1, -1, - 41, -1, -1, 44, 45, 46, -1, -1, 49, -1, - 51, -1, -1, 54, -1, -1, 57, -1, 59, 60, - -1, 62, 63, -1, 65, 66, -1, -1, 69, -1, - -1, -1, 73, 74, 75, 76, -1, -1, -1, -1, - -1, 82, 83, 84, -1, 86, 87, -1, 89, 90, - 91, 92, 93, 94, -1, -1, 97, -1, 99, 100, - -1, -1, 103, -1, -1, -1, 107, -1, -1, 110, - 111, -1, 113, 114, 8, 9, 10, 11, -1, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, -1, -1, -1, 30, -1, -1, -1, - -1, 35, 8, 9, 10, 11, 40, 13, 14, 15, - 16, -1, -1, 19, 20, 21, 22, -1, -1, 25, - 26, -1, -1, -1, -1, -1, -1, -1, -1, 63, - -1, -1, -1, 67, 40, -1, -1, 71, 72, -1, - 74, 75, -1, 77, 78, -1, -1, 81, -1, 55, - -1, 27, 28, 29, -1, 89, -1, 33, -1, -1, - 36, -1, 38, -1, -1, 41, 42, 101, 44, 45, - 46, -1, -1, 49, -1, 51, -1, -1, 54, -1, - -1, 57, -1, 59, 60, -1, 62, 63, 64, 65, - 66, -1, -1, 69, -1, -1, -1, 73, 74, 75, - 76, -1, -1, -1, -1, -1, 82, 83, 84, -1, - 86, 87, -1, 89, 90, 91, 92, 93, 94, -1, - -1, 97, -1, 99, 100, -1, -1, 103, -1, -1, - -1, 107, -1, -1, 110, 111, -1, 113, 114, 27, - 28, 29, -1, -1, -1, 33, -1, -1, 36, -1, - 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, - -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, - -1, 59, 60, -1, 62, 63, 64, 65, 66, -1, - -1, 69, -1, -1, -1, 73, 74, 75, 76, -1, - -1, -1, -1, -1, 82, 83, 84, -1, 86, 87, - -1, 89, 90, 91, 92, 93, 94, -1, -1, 97, - -1, 99, 100, -1, -1, 103, -1, -1, -1, 107, - -1, -1, 110, 111, -1, 113, 114, 27, 28, 29, - -1, -1, -1, 33, -1, -1, 36, -1, 38, -1, - -1, 41, -1, -1, 44, 45, 46, -1, -1, 49, - -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, - 60, -1, 62, 63, -1, 65, 66, -1, -1, 69, - -1, -1, -1, 73, 74, 75, 76, -1, -1, -1, - -1, -1, 82, 83, 84, -1, 86, 87, -1, 89, - 90, 91, 92, 93, 94, -1, -1, 97, -1, 99, - 100, -1, -1, 103, -1, -1, -1, 107, -1, -1, - 110, 111, -1, 113, 114, 27, 28, 29, -1, -1, + 95, 3, -1, 98, -1, 100, 101, -1, -1, 104, + -1, -1, -1, 108, -1, -1, 111, 112, -1, 114, + 115, -1, -1, -1, -1, 27, 28, 29, -1, -1, -1, 33, -1, -1, 36, -1, 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, 60, -1, 62, 63, -1, 65, 66, -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, -1, -1, -1, -1, -1, 82, 83, 84, -1, 86, 87, -1, 89, 90, 91, - 92, 93, 94, -1, -1, 97, -1, 99, 100, -1, - -1, 103, -1, -1, -1, 107, -1, -1, 110, 111, - 4, 113, 114, -1, 8, 9, 10, 11, -1, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, -1, -1, -1, 30, -1, -1, -1, - -1, 35, 8, 9, 10, 11, 40, 13, 14, 15, - 16, -1, -1, 19, 20, 21, 22, -1, -1, 25, - 26, -1, -1, -1, -1, -1, -1, -1, -1, 63, - -1, -1, -1, 67, 40, -1, -1, 71, 72, -1, - 74, 75, -1, 77, 78, -1, -1, 81, -1, 55, - -1, -1, 4, -1, -1, 89, 8, 9, 10, 11, - -1, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, -1, -1, -1, 30, -1, - -1, -1, -1, 35, 8, 9, 10, 11, 40, 13, - 14, 15, 16, -1, -1, 19, 20, 21, 22, -1, - -1, 25, 26, -1, -1, -1, -1, -1, -1, -1, - -1, 63, -1, -1, -1, 67, 40, -1, -1, 71, - 72, -1, 74, 75, -1, 77, 78, -1, -1, 81, - -1, 55, -1, -1, 4, -1, -1, 89, 8, 9, + 92, 93, 94, 95, 3, -1, 98, -1, 100, 101, + -1, -1, 104, -1, -1, -1, 108, -1, -1, 111, + 112, -1, 114, 115, -1, -1, -1, -1, 27, 28, + 29, -1, -1, -1, 33, -1, -1, 36, -1, 38, + -1, -1, 41, -1, -1, 44, 45, 46, -1, -1, + 49, -1, 51, -1, -1, 54, -1, -1, 57, -1, + 59, 60, -1, 62, 63, -1, 65, 66, -1, -1, + 69, -1, -1, -1, 73, 74, 75, 76, -1, -1, + -1, -1, -1, 82, 83, 84, -1, 86, 87, -1, + 89, 90, 91, 92, 93, 94, 95, -1, -1, 98, + -1, 100, 101, -1, -1, 104, -1, -1, -1, 108, + -1, -1, 111, 112, -1, 114, 115, 8, 9, 10, + 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, -1, -1, -1, 30, + -1, -1, -1, -1, 35, 8, 9, 10, 11, 40, + 13, 14, 15, 16, -1, -1, 19, 20, 21, 22, + -1, -1, 25, 26, -1, -1, -1, -1, -1, -1, + -1, -1, 63, -1, -1, -1, 67, 40, -1, -1, + 71, 72, -1, 74, 75, -1, 77, 78, -1, -1, + 81, -1, 55, -1, -1, -1, -1, -1, 89, -1, + -1, -1, -1, -1, -1, -1, -1, 8, 9, 10, + 11, 102, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, -1, -1, -1, 30, + -1, -1, -1, -1, 35, -1, -1, -1, -1, 40, + -1, -1, -1, -1, -1, -1, 8, 9, 10, 11, + -1, 13, 14, 15, 16, -1, -1, 19, 20, 21, + 22, -1, 63, 25, 26, -1, 67, -1, -1, -1, + 71, 72, -1, 74, 75, -1, 77, 78, 40, -1, + 81, 27, 28, 29, -1, -1, -1, 33, 89, -1, + 36, -1, 38, 55, -1, 41, 42, -1, 44, 45, + 46, 102, -1, 49, -1, 51, -1, -1, 54, -1, + -1, 57, -1, 59, 60, -1, 62, 63, 64, 65, + 66, -1, -1, 69, -1, -1, -1, 73, 74, 75, + 76, -1, -1, -1, -1, -1, 82, 83, 84, -1, + 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, + -1, -1, 98, -1, 100, 101, -1, -1, 104, -1, + -1, -1, 108, -1, -1, 111, 112, -1, 114, 115, + 27, 28, 29, -1, -1, -1, 33, -1, -1, 36, + -1, 38, -1, -1, 41, -1, -1, 44, 45, 46, + -1, -1, 49, -1, 51, -1, -1, 54, -1, -1, + 57, -1, 59, 60, -1, 62, 63, 64, 65, 66, + -1, -1, 69, -1, -1, -1, 73, 74, 75, 76, + -1, -1, -1, -1, -1, 82, 83, 84, -1, 86, + 87, -1, 89, 90, 91, 92, 93, 94, 95, -1, + -1, 98, -1, 100, 101, -1, -1, 104, -1, -1, + -1, 108, -1, -1, 111, 112, -1, 114, 115, 27, + 28, 29, -1, -1, -1, 33, -1, -1, 36, -1, + 38, -1, -1, 41, -1, -1, 44, 45, 46, -1, + -1, 49, -1, 51, -1, -1, 54, -1, -1, 57, + -1, 59, 60, -1, 62, 63, -1, 65, 66, -1, + -1, 69, -1, -1, -1, 73, 74, 75, 76, -1, + -1, -1, -1, -1, 82, 83, 84, -1, 86, 87, + -1, 89, 90, 91, 92, 93, 94, 95, -1, -1, + 98, -1, 100, 101, -1, -1, 104, -1, -1, -1, + 108, -1, -1, 111, 112, -1, 114, 115, 27, 28, + 29, -1, -1, -1, 33, -1, -1, 36, -1, 38, + -1, -1, 41, -1, -1, 44, 45, 46, -1, -1, + 49, -1, 51, -1, -1, 54, -1, -1, 57, -1, + 59, 60, -1, 62, 63, -1, 65, 66, -1, -1, + 69, -1, -1, -1, 73, 74, 75, 76, -1, -1, + -1, -1, -1, 82, 83, 84, -1, 86, 87, -1, + 89, 90, 91, 92, 93, 94, 95, -1, -1, 98, + -1, 100, 101, -1, -1, 104, -1, -1, -1, 108, + -1, -1, 111, 112, 4, 114, 115, -1, 8, 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, -1, -1, 30, -1, -1, -1, -1, 35, 8, 9, 10, 11, @@ -4397,17 +4412,18 @@ namespace sqlb { namespace parser { 20, 21, 22, -1, -1, 25, 26, -1, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, 67, 40, -1, -1, 71, 72, -1, 74, 75, -1, 77, - 78, -1, -1, 81, -1, 55, -1, 8, 9, 10, - 11, 89, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, -1, -1, -1, 30, - -1, -1, 33, -1, 35, -1, -1, -1, -1, 40, + 78, -1, -1, 81, -1, 55, -1, -1, 4, -1, + -1, 89, 8, 9, 10, 11, -1, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, -1, -1, -1, 30, -1, -1, -1, -1, 35, + -1, -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 51, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 63, -1, -1, -1, 67, -1, -1, -1, - 71, 72, -1, 74, 75, -1, 77, 78, -1, -1, - 81, -1, -1, -1, 8, 9, 10, 11, 89, 13, + -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, + -1, 67, -1, -1, -1, 71, 72, -1, 74, 75, + -1, 77, 78, -1, -1, 81, -1, -1, -1, -1, + 4, -1, -1, 89, 8, 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, -1, -1, -1, 30, -1, 32, -1, + 24, 25, 26, -1, -1, -1, 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63, @@ -4415,17 +4431,17 @@ namespace sqlb { namespace parser { 74, 75, -1, 77, 78, -1, -1, 81, -1, -1, -1, 8, 9, 10, 11, 89, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - -1, -1, -1, 30, 31, -1, -1, -1, 35, -1, + -1, -1, -1, 30, -1, -1, 33, -1, 35, -1, -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 51, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, 67, -1, -1, -1, 71, 72, -1, 74, 75, -1, 77, 78, -1, -1, 81, -1, -1, -1, 8, 9, 10, 11, 89, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, -1, -1, - 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, + 30, -1, 32, -1, -1, 35, -1, -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 54, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, 67, -1, -1, -1, 71, 72, -1, 74, 75, -1, 77, 78, -1, -1, 81, -1, -1, -1, 8, 9, 10, 11, 89, @@ -4446,7 +4462,7 @@ namespace sqlb { namespace parser { -1, 77, 78, -1, -1, 81, -1, -1, -1, 8, 9, 10, 11, 89, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, -1, - -1, 30, -1, -1, -1, -1, 35, -1, -1, -1, + -1, 30, 31, -1, -1, -1, 35, -1, -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, 67, -1, @@ -4454,105 +4470,120 @@ namespace sqlb { namespace parser { -1, -1, 81, -1, -1, -1, 8, 9, 10, 11, 89, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, -1, -1, 30, -1, - -1, -1, -1, 35, -1, -1, -1, -1, 40, 8, - 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, -1, -1, - -1, 63, -1, -1, -1, 67, 35, -1, -1, 71, - 72, 40, 74, 75, -1, 77, 78, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 89, -1, -1, - -1, -1, -1, -1, 63, -1, -1, -1, 67, -1, - -1, -1, 71, 72, -1, 74, 75, -1, 77, 78, + -1, -1, -1, 35, -1, -1, -1, -1, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 89 + -1, -1, 54, -1, -1, -1, -1, -1, -1, -1, + -1, 63, -1, -1, -1, 67, -1, -1, -1, 71, + 72, -1, 74, 75, -1, 77, 78, -1, -1, 81, + -1, -1, -1, 8, 9, 10, 11, 89, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, -1, -1, -1, 30, -1, -1, -1, -1, + 35, -1, -1, -1, -1, 40, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 63, -1, + -1, -1, 67, -1, -1, -1, 71, 72, -1, 74, + 75, -1, 77, 78, -1, -1, 81, -1, -1, -1, + 8, 9, 10, 11, 89, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, + -1, -1, 30, -1, -1, -1, -1, 35, -1, -1, + -1, -1, 40, 8, 9, 10, 11, -1, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, -1, -1, -1, 63, -1, -1, -1, 67, + 35, -1, -1, 71, 72, 40, 74, 75, -1, 77, + 78, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 89, -1, -1, -1, -1, -1, -1, 63, -1, + -1, -1, 67, -1, -1, -1, 71, 72, -1, 74, + 75, -1, 77, 78, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 89 }; const unsigned char parser::yystos_[] = { - 0, 43, 118, 119, 149, 151, 171, 99, 100, 104, - 107, 144, 152, 0, 7, 98, 68, 98, 64, 142, - 142, 142, 77, 27, 28, 29, 33, 36, 38, 41, + 0, 43, 119, 120, 150, 152, 172, 100, 101, 105, + 108, 145, 153, 0, 7, 99, 68, 99, 64, 143, + 143, 143, 77, 27, 28, 29, 33, 36, 38, 41, 44, 45, 46, 49, 51, 54, 57, 59, 60, 62, 63, 65, 66, 69, 73, 74, 75, 76, 82, 83, - 84, 86, 87, 89, 90, 91, 92, 93, 94, 97, - 99, 100, 103, 107, 110, 111, 113, 114, 121, 122, - 123, 146, 146, 146, 56, 5, 5, 106, 80, 3, - 32, 99, 121, 123, 123, 121, 123, 44, 45, 46, - 64, 113, 121, 122, 124, 160, 161, 95, 141, 3, - 150, 3, 123, 127, 128, 155, 6, 170, 3, 4, - 8, 9, 12, 37, 38, 44, 45, 46, 58, 77, - 79, 86, 102, 112, 113, 115, 116, 120, 121, 122, - 129, 130, 131, 132, 133, 134, 135, 136, 138, 139, - 140, 140, 147, 148, 3, 123, 42, 158, 159, 162, - 160, 162, 168, 169, 4, 132, 140, 140, 140, 108, - 137, 140, 3, 140, 3, 3, 5, 4, 6, 8, - 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 30, 35, 40, - 63, 67, 71, 72, 74, 75, 77, 78, 81, 89, - 33, 51, 143, 4, 6, 8, 9, 112, 125, 126, - 113, 121, 158, 39, 40, 47, 62, 77, 79, 85, - 88, 104, 157, 39, 61, 85, 104, 6, 168, 110, - 153, 4, 140, 53, 54, 108, 137, 140, 27, 57, - 65, 92, 4, 10, 52, 132, 121, 140, 140, 140, - 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 140, 140, 140, 140, 140, 121, 140, - 3, 121, 123, 140, 140, 140, 35, 63, 67, 74, - 75, 79, 89, 140, 140, 109, 145, 147, 112, 112, - 4, 6, 3, 121, 3, 64, 120, 121, 122, 125, - 29, 79, 73, 123, 80, 154, 32, 3, 73, 73, - 3, 168, 93, 101, 140, 140, 53, 54, 32, 6, - 6, 4, 6, 4, 132, 4, 5, 31, 55, 4, - 132, 141, 3, 5, 55, 55, 140, 140, 3, 121, - 123, 140, 140, 140, 55, 140, 126, 140, 140, 154, - 143, 3, 164, 41, 3, 140, 3, 3, 148, 140, - 54, 101, 140, 128, 113, 113, 113, 4, 121, 140, - 140, 4, 4, 132, 121, 123, 140, 140, 31, 55, - 4, 132, 141, 3, 5, 55, 55, 55, 140, 4, - 4, 4, 154, 124, 163, 48, 75, 77, 80, 165, - 166, 167, 27, 57, 65, 90, 92, 140, 4, 163, - 148, 4, 140, 54, 4, 4, 4, 4, 4, 3, - 140, 140, 4, 4, 132, 121, 123, 140, 140, 140, - 34, 4, 6, 69, 121, 48, 50, 70, 105, 48, - 77, 165, 4, 4, 4, 34, 154, 4, 132, 4, - 3, 124, 49, 66, 69, 36, 76, 91, 96, 36, - 76, 91, 96, 36, 76, 91, 96, 69, 48, 97, - 107, 156, 88, 154, 4, 4, 4, 132, 49, 66, - 28, 47, 79, 28, 47, 79, 28, 47, 79, 49, - 66, 69, 123, 154, 4, 49, 66, 164, 167 + 84, 86, 87, 89, 90, 91, 92, 93, 94, 95, + 98, 100, 101, 104, 108, 111, 112, 114, 115, 122, + 123, 124, 147, 147, 147, 56, 5, 5, 107, 80, + 3, 32, 100, 122, 124, 124, 122, 124, 44, 45, + 46, 64, 114, 122, 123, 125, 161, 162, 96, 142, + 3, 151, 3, 124, 128, 129, 156, 6, 171, 3, + 4, 8, 9, 12, 37, 38, 44, 45, 46, 58, + 77, 79, 86, 103, 113, 114, 116, 117, 121, 122, + 123, 130, 131, 132, 133, 134, 135, 136, 137, 139, + 140, 141, 141, 148, 149, 3, 124, 42, 159, 160, + 163, 161, 163, 169, 170, 4, 133, 141, 141, 141, + 109, 138, 141, 3, 141, 3, 3, 5, 4, 6, + 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 30, 35, + 40, 63, 67, 71, 72, 74, 75, 77, 78, 81, + 89, 33, 51, 144, 4, 6, 8, 9, 113, 126, + 127, 114, 122, 159, 39, 40, 47, 62, 77, 79, + 85, 88, 105, 158, 39, 61, 85, 105, 6, 169, + 111, 154, 4, 141, 53, 54, 109, 138, 141, 27, + 57, 65, 93, 4, 10, 52, 133, 122, 141, 141, + 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, + 141, 141, 141, 141, 141, 141, 141, 141, 141, 122, + 141, 3, 122, 124, 141, 141, 141, 35, 63, 67, + 74, 75, 79, 89, 141, 141, 110, 146, 148, 113, + 113, 4, 6, 3, 122, 3, 64, 121, 122, 123, + 126, 29, 79, 73, 124, 80, 155, 32, 3, 73, + 73, 3, 169, 94, 102, 141, 141, 53, 54, 32, + 6, 6, 4, 6, 4, 133, 4, 5, 31, 55, + 4, 133, 142, 3, 5, 55, 55, 141, 141, 3, + 122, 124, 141, 141, 141, 55, 141, 127, 141, 141, + 155, 144, 3, 165, 41, 3, 141, 3, 3, 149, + 141, 54, 102, 141, 129, 114, 114, 114, 4, 122, + 141, 141, 4, 4, 133, 122, 124, 141, 141, 31, + 55, 4, 133, 142, 3, 5, 55, 55, 55, 141, + 4, 4, 4, 155, 125, 164, 48, 75, 77, 80, + 166, 167, 168, 27, 57, 65, 90, 93, 141, 4, + 164, 149, 4, 141, 54, 4, 4, 4, 4, 4, + 3, 141, 141, 4, 4, 133, 122, 124, 141, 141, + 141, 34, 4, 6, 69, 122, 48, 50, 70, 106, + 48, 77, 166, 4, 4, 4, 34, 155, 4, 133, + 4, 3, 125, 49, 66, 69, 36, 76, 91, 97, + 36, 76, 91, 97, 36, 76, 91, 97, 69, 48, + 98, 108, 157, 88, 155, 4, 4, 4, 133, 49, + 66, 28, 47, 79, 28, 47, 79, 28, 47, 79, + 49, 66, 69, 124, 155, 4, 49, 66, 165, 168 }; const unsigned char parser::yyr1_[] = { - 0, 117, 118, 118, 119, 119, 119, 120, 120, 120, - 120, 120, 120, 120, 120, 120, 121, 121, 122, 122, - 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, - 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, - 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, - 122, 122, 122, 122, 122, 122, 122, 123, 123, 123, - 123, 123, 123, 124, 124, 124, 124, 124, 124, 124, - 125, 125, 126, 126, 127, 127, 128, 128, 128, 129, - 129, 129, 129, 130, 130, 130, 130, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, + 0, 118, 119, 119, 120, 120, 120, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 122, 122, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 124, 124, + 124, 124, 124, 124, 125, 125, 125, 125, 125, 125, + 125, 126, 126, 127, 127, 128, 128, 129, 129, 129, 130, 130, 130, 130, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, - 132, 132, 133, 133, 133, 133, 134, 134, 134, 135, - 135, 136, 136, 136, 136, 136, 136, 136, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 137, 137, 138, - 138, 138, 138, 139, 139, 139, 139, 140, 140, 140, - 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 140, 140, 141, 142, 142, 143, 143, - 143, 144, 144, 145, 145, 146, 146, 146, 147, 148, - 148, 149, 150, 150, 150, 151, 152, 152, 152, 153, - 153, 154, 154, 154, 154, 154, 154, 155, 155, 156, - 156, 156, 157, 157, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 159, - 159, 160, 160, 161, 161, 162, 162, 162, 163, 163, - 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, - 165, 165, 165, 165, 165, 165, 165, 165, 166, 166, - 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, - 167, 167, 167, 167, 168, 168, 168, 168, 168, 169, - 169, 169, 170, 170, 171, 171 + 131, 131, 131, 131, 131, 132, 132, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, + 132, 133, 133, 134, 134, 134, 134, 135, 135, 135, + 136, 136, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 138, 138, + 139, 139, 139, 139, 140, 140, 140, 140, 141, 141, + 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, + 141, 141, 141, 141, 141, 141, 142, 143, 143, 144, + 144, 144, 145, 145, 146, 146, 147, 147, 147, 148, + 149, 149, 150, 151, 151, 151, 152, 153, 153, 153, + 154, 154, 155, 155, 155, 155, 155, 155, 156, 156, + 157, 157, 157, 158, 158, 159, 159, 159, 159, 159, + 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, + 160, 160, 161, 161, 162, 162, 163, 163, 163, 164, + 164, 165, 165, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 167, + 167, 168, 168, 168, 168, 168, 168, 168, 168, 168, + 168, 168, 168, 168, 168, 169, 169, 169, 169, 169, + 170, 170, 170, 171, 171, 172, 172 }; const signed char @@ -4565,28 +4596,28 @@ namespace sqlb { namespace parser { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 2, 2, 1, 1, 1, 2, 1, 4, 6, 2, - 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, + 1, 2, 2, 1, 1, 1, 2, 1, 4, 6, + 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, - 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, - 1, 3, 4, 5, 3, 4, 2, 2, 3, 5, - 6, 4, 5, 5, 5, 3, 7, 8, 6, 5, - 6, 6, 6, 4, 8, 9, 7, 4, 5, 6, - 4, 5, 3, 4, 6, 6, 6, 1, 1, 1, - 5, 3, 1, 1, 1, 1, 3, 6, 3, 1, - 1, 1, 1, 1, 1, 1, 0, 3, 0, 1, - 1, 0, 1, 0, 2, 3, 3, 1, 2, 1, - 3, 11, 0, 2, 3, 8, 0, 1, 1, 0, - 2, 0, 3, 3, 3, 3, 3, 0, 1, 0, - 1, 1, 0, 2, 5, 6, 4, 2, 3, 5, - 3, 3, 3, 3, 3, 5, 3, 5, 7, 1, - 2, 3, 2, 1, 3, 0, 2, 2, 1, 3, - 0, 3, 4, 4, 3, 3, 4, 4, 4, 3, - 3, 4, 4, 4, 3, 3, 4, 2, 1, 2, - 0, 1, 4, 4, 2, 5, 5, 3, 3, 3, - 1, 4, 4, 2, 7, 8, 6, 5, 10, 1, - 3, 2, 0, 2, 7, 10 + 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, + 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, + 6, 1, 3, 4, 5, 3, 4, 2, 2, 3, + 5, 6, 4, 5, 5, 5, 3, 7, 8, 6, + 5, 6, 6, 6, 4, 8, 9, 7, 4, 5, + 6, 4, 5, 3, 4, 6, 6, 6, 1, 1, + 1, 5, 3, 1, 1, 1, 1, 3, 6, 3, + 1, 1, 1, 1, 1, 1, 1, 0, 3, 0, + 1, 1, 0, 1, 0, 2, 3, 3, 1, 2, + 1, 3, 11, 0, 2, 3, 8, 0, 1, 1, + 0, 2, 0, 3, 3, 3, 3, 3, 0, 1, + 0, 1, 1, 0, 2, 5, 6, 4, 2, 3, + 5, 3, 3, 3, 3, 3, 5, 3, 5, 7, + 1, 2, 3, 2, 1, 3, 0, 2, 2, 1, + 3, 0, 3, 4, 4, 3, 3, 4, 4, 4, + 3, 3, 4, 4, 4, 3, 3, 4, 2, 1, + 2, 0, 1, 4, 4, 2, 5, 5, 3, 3, + 3, 1, 4, 4, 2, 7, 8, 6, 5, 10, + 1, 3, 2, 0, 2, 7, 10 }; @@ -4613,11 +4644,11 @@ namespace sqlb { namespace parser { "\"NO\"", "\"NOT\"", "\"NOTNULL\"", "\"NULL\"", "\"ON\"", "\"OR\"", "\"OVER\"", "\"PARTITION\"", "\"PRECEDING\"", "\"PRIMARY\"", "\"RAISE\"", "\"RANGE\"", "\"REFERENCES\"", "\"REGEXP\"", "\"REPLACE\"", - "\"RESTRICT\"", "\"ROLLBACK\"", "\"ROWID\"", "\"ROWS\"", "\"SELECT\"", - "\"SET\"", "\"STORED\"", "\"TABLE\"", "\"TEMP\"", "\"TEMPORARY\"", - "\"THEN\"", "\"TRUE\"", "\"UNBOUNDED\"", "\"UNIQUE\"", "\"UPDATE\"", - "\"USING\"", "\"VIRTUAL\"", "\"WHEN\"", "\"WHERE\"", "\"WITHOUT\"", - "\"identifier\"", "\"numeric\"", "\"string literal\"", + "\"RESTRICT\"", "\"RETURNING\"", "\"ROLLBACK\"", "\"ROWID\"", "\"ROWS\"", + "\"SELECT\"", "\"SET\"", "\"STORED\"", "\"TABLE\"", "\"TEMP\"", + "\"TEMPORARY\"", "\"THEN\"", "\"TRUE\"", "\"UNBOUNDED\"", "\"UNIQUE\"", + "\"UPDATE\"", "\"USING\"", "\"VIRTUAL\"", "\"WHEN\"", "\"WHERE\"", + "\"WITHOUT\"", "\"identifier\"", "\"numeric\"", "\"string literal\"", "\"quoted literal\"", "\"blob literal\"", "\"bind parameter\"", "$accept", "sql", "statement", "literalvalue", "id", "allowed_keywords_as_identifier", "tableid", "columnid", "signednumber", @@ -4645,35 +4676,35 @@ namespace sqlb { namespace parser { const short parser::yyrline_[] = { - 0, 262, 262, 263, 267, 268, 269, 277, 278, 279, - 280, 281, 282, 283, 284, 285, 289, 290, 295, 296, - 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, - 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, - 327, 328, 329, 330, 331, 332, 333, 337, 338, 339, - 340, 341, 342, 346, 347, 348, 349, 350, 351, 352, - 356, 357, 361, 362, 366, 367, 371, 372, 373, 377, - 378, 379, 380, 384, 385, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, - 401, 402, 403, 404, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, - 427, 428, 432, 433, 434, 435, 439, 440, 441, 445, - 446, 450, 451, 452, 453, 454, 455, 456, 457, 458, - 459, 460, 461, 462, 463, 464, 465, 469, 470, 474, - 475, 476, 477, 481, 482, 483, 484, 488, 489, 490, - 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, - 501, 502, 503, 504, 505, 514, 522, 523, 527, 528, - 529, 537, 538, 542, 543, 547, 548, 549, 553, 567, - 568, 572, 587, 588, 589, 593, 605, 606, 607, 611, - 612, 616, 617, 618, 619, 620, 621, 625, 626, 630, - 631, 632, 636, 637, 641, 647, 654, 660, 662, 668, - 672, 676, 680, 684, 689, 693, 697, 701, 709, 716, - 717, 721, 782, 786, 787, 791, 792, 793, 797, 798, - 802, 803, 807, 808, 809, 810, 811, 812, 813, 814, - 815, 816, 817, 818, 819, 820, 821, 822, 826, 827, - 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, - 841, 842, 843, 844, 848, 854, 861, 867, 871, 879, - 880, 881, 885, 886, 890, 894 + 0, 263, 263, 264, 268, 269, 270, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 290, 291, 296, 297, + 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, + 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, + 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, + 328, 329, 330, 331, 332, 333, 334, 335, 339, 340, + 341, 342, 343, 344, 348, 349, 350, 351, 352, 353, + 354, 358, 359, 363, 364, 368, 369, 373, 374, 375, + 379, 380, 381, 382, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 410, 411, 412, 413, 414, + 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 425, 429, 430, 434, 435, 436, 437, 441, 442, 443, + 447, 448, 452, 453, 454, 455, 456, 457, 458, 459, + 460, 461, 462, 463, 464, 465, 466, 467, 471, 472, + 476, 477, 478, 479, 483, 484, 485, 486, 490, 491, + 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 505, 506, 507, 516, 524, 525, 529, + 530, 531, 539, 540, 544, 545, 549, 550, 551, 555, + 569, 570, 574, 589, 590, 591, 595, 607, 608, 609, + 613, 614, 618, 619, 620, 621, 622, 623, 627, 628, + 632, 633, 634, 638, 639, 643, 649, 656, 662, 664, + 670, 674, 678, 682, 686, 691, 695, 699, 703, 711, + 718, 719, 723, 784, 788, 789, 793, 794, 795, 799, + 800, 804, 805, 809, 810, 811, 812, 813, 814, 815, + 816, 817, 818, 819, 820, 821, 822, 823, 824, 828, + 829, 833, 834, 835, 836, 837, 838, 839, 840, 841, + 842, 843, 844, 845, 846, 850, 856, 863, 869, 873, + 881, 882, 883, 887, 888, 892, 896 }; void @@ -4706,9 +4737,9 @@ namespace sqlb { namespace parser { #line 10 "sqlite3_parser.yy" } } // sqlb::parser -#line 4710 "sqlite3_parser.cpp" +#line 4741 "sqlite3_parser.cpp" -#line 913 "sqlite3_parser.yy" +#line 915 "sqlite3_parser.yy" void sqlb::parser::parser::error(const location_type& l, const std::string& m) diff --git a/src/sql/parser/sqlite3_parser.hpp b/src/sql/parser/sqlite3_parser.hpp index 74172da7..ff21ab99 100644 --- a/src/sql/parser/sqlite3_parser.hpp +++ b/src/sql/parser/sqlite3_parser.hpp @@ -507,6 +507,7 @@ namespace sqlb { namespace parser { // "REGEXP" // "REPLACE" // "RESTRICT" + // "RETURNING" // "ROLLBACK" // "ROWID" // "ROWS" @@ -709,31 +710,32 @@ namespace sqlb { namespace parser { TOK_REGEXP = 344, // "REGEXP" TOK_REPLACE = 345, // "REPLACE" TOK_RESTRICT = 346, // "RESTRICT" - TOK_ROLLBACK = 347, // "ROLLBACK" - TOK_ROWID = 348, // "ROWID" - TOK_ROWS = 349, // "ROWS" - TOK_SELECT = 350, // "SELECT" - TOK_SET = 351, // "SET" - TOK_STORED = 352, // "STORED" - TOK_TABLE = 353, // "TABLE" - TOK_TEMP = 354, // "TEMP" - TOK_TEMPORARY = 355, // "TEMPORARY" - TOK_THEN = 356, // "THEN" - TOK_TRUE = 357, // "TRUE" - TOK_UNBOUNDED = 358, // "UNBOUNDED" - TOK_UNIQUE = 359, // "UNIQUE" - TOK_UPDATE = 360, // "UPDATE" - TOK_USING = 361, // "USING" - TOK_VIRTUAL = 362, // "VIRTUAL" - TOK_WHEN = 363, // "WHEN" - TOK_WHERE = 364, // "WHERE" - TOK_WITHOUT = 365, // "WITHOUT" - TOK_IDENTIFIER = 366, // "identifier" - TOK_NUMERIC = 367, // "numeric" - TOK_STRINGLITERAL = 368, // "string literal" - TOK_QUOTEDLITERAL = 369, // "quoted literal" - TOK_BLOBLITERAL = 370, // "blob literal" - TOK_BINDPARAMETER = 371 // "bind parameter" + TOK_RETURNING = 347, // "RETURNING" + TOK_ROLLBACK = 348, // "ROLLBACK" + TOK_ROWID = 349, // "ROWID" + TOK_ROWS = 350, // "ROWS" + TOK_SELECT = 351, // "SELECT" + TOK_SET = 352, // "SET" + TOK_STORED = 353, // "STORED" + TOK_TABLE = 354, // "TABLE" + TOK_TEMP = 355, // "TEMP" + TOK_TEMPORARY = 356, // "TEMPORARY" + TOK_THEN = 357, // "THEN" + TOK_TRUE = 358, // "TRUE" + TOK_UNBOUNDED = 359, // "UNBOUNDED" + TOK_UNIQUE = 360, // "UNIQUE" + TOK_UPDATE = 361, // "UPDATE" + TOK_USING = 362, // "USING" + TOK_VIRTUAL = 363, // "VIRTUAL" + TOK_WHEN = 364, // "WHEN" + TOK_WHERE = 365, // "WHERE" + TOK_WITHOUT = 366, // "WITHOUT" + TOK_IDENTIFIER = 367, // "identifier" + TOK_NUMERIC = 368, // "numeric" + TOK_STRINGLITERAL = 369, // "string literal" + TOK_QUOTEDLITERAL = 370, // "quoted literal" + TOK_BLOBLITERAL = 371, // "blob literal" + TOK_BINDPARAMETER = 372 // "bind parameter" }; /// Backward compatibility alias (Bison 3.6). typedef token_kind_type yytokentype; @@ -750,7 +752,7 @@ namespace sqlb { namespace parser { { enum symbol_kind_type { - YYNTOKENS = 117, ///< Number of tokens. + YYNTOKENS = 118, ///< Number of tokens. S_YYEMPTY = -2, S_YYEOF = 0, // "end of file" S_YYerror = 1, // error @@ -844,86 +846,87 @@ namespace sqlb { namespace parser { S_REGEXP = 89, // "REGEXP" S_REPLACE = 90, // "REPLACE" S_RESTRICT = 91, // "RESTRICT" - S_ROLLBACK = 92, // "ROLLBACK" - S_ROWID = 93, // "ROWID" - S_ROWS = 94, // "ROWS" - S_SELECT = 95, // "SELECT" - S_SET = 96, // "SET" - S_STORED = 97, // "STORED" - S_TABLE = 98, // "TABLE" - S_TEMP = 99, // "TEMP" - S_TEMPORARY = 100, // "TEMPORARY" - S_THEN = 101, // "THEN" - S_TRUE = 102, // "TRUE" - S_UNBOUNDED = 103, // "UNBOUNDED" - S_UNIQUE = 104, // "UNIQUE" - S_UPDATE = 105, // "UPDATE" - S_USING = 106, // "USING" - S_VIRTUAL = 107, // "VIRTUAL" - S_WHEN = 108, // "WHEN" - S_WHERE = 109, // "WHERE" - S_WITHOUT = 110, // "WITHOUT" - S_IDENTIFIER = 111, // "identifier" - S_NUMERIC = 112, // "numeric" - S_STRINGLITERAL = 113, // "string literal" - S_QUOTEDLITERAL = 114, // "quoted literal" - S_BLOBLITERAL = 115, // "blob literal" - S_BINDPARAMETER = 116, // "bind parameter" - S_YYACCEPT = 117, // $accept - S_sql = 118, // sql - S_statement = 119, // statement - S_literalvalue = 120, // literalvalue - S_id = 121, // id - S_allowed_keywords_as_identifier = 122, // allowed_keywords_as_identifier - S_tableid = 123, // tableid - S_columnid = 124, // columnid - S_signednumber = 125, // signednumber - S_signednumber_or_numeric = 126, // signednumber_or_numeric - S_typename_namelist = 127, // typename_namelist - S_type_name = 128, // type_name - S_unary_expr = 129, // unary_expr - S_binary_expr = 130, // binary_expr - S_like_expr = 131, // like_expr - S_exprlist_expr = 132, // exprlist_expr - S_function_expr = 133, // function_expr - S_isnull_expr = 134, // isnull_expr - S_between_expr = 135, // between_expr - S_in_expr = 136, // in_expr - S_whenthenlist_expr = 137, // whenthenlist_expr - S_case_expr = 138, // case_expr - S_raise_expr = 139, // raise_expr - S_expr = 140, // expr - S_select_stmt = 141, // select_stmt - S_optional_if_not_exists = 142, // optional_if_not_exists - S_optional_sort_order = 143, // optional_sort_order - S_optional_unique = 144, // optional_unique - S_optional_where = 145, // optional_where - S_tableid_with_uninteresting_schema = 146, // tableid_with_uninteresting_schema - S_indexed_column = 147, // indexed_column - S_indexed_column_list = 148, // indexed_column_list - S_createindex_stmt = 149, // createindex_stmt - S_optional_exprlist_with_paren = 150, // optional_exprlist_with_paren - S_createvirtualtable_stmt = 151, // createvirtualtable_stmt - S_optional_temporary = 152, // optional_temporary - S_optional_withoutrowid = 153, // optional_withoutrowid - S_optional_conflictclause = 154, // optional_conflictclause - S_optional_typename = 155, // optional_typename - S_optional_storage_identifier = 156, // optional_storage_identifier - S_optional_always_generated = 157, // optional_always_generated - S_columnconstraint = 158, // columnconstraint - S_columnconstraint_list = 159, // columnconstraint_list - S_columndef = 160, // columndef - S_columndef_list = 161, // columndef_list - S_optional_constraintname = 162, // optional_constraintname - S_columnid_list = 163, // columnid_list - S_optional_columnid_with_paren_list = 164, // optional_columnid_with_paren_list - S_fk_clause_part = 165, // fk_clause_part - S_fk_clause_part_list = 166, // fk_clause_part_list - S_optional_fk_clause = 167, // optional_fk_clause - S_tableconstraint = 168, // tableconstraint - S_tableconstraint_list = 169, // tableconstraint_list - S_optional_tableconstraint_list = 170, // optional_tableconstraint_list - S_createtable_stmt = 171 // createtable_stmt + S_RETURNING = 92, // "RETURNING" + S_ROLLBACK = 93, // "ROLLBACK" + S_ROWID = 94, // "ROWID" + S_ROWS = 95, // "ROWS" + S_SELECT = 96, // "SELECT" + S_SET = 97, // "SET" + S_STORED = 98, // "STORED" + S_TABLE = 99, // "TABLE" + S_TEMP = 100, // "TEMP" + S_TEMPORARY = 101, // "TEMPORARY" + S_THEN = 102, // "THEN" + S_TRUE = 103, // "TRUE" + S_UNBOUNDED = 104, // "UNBOUNDED" + S_UNIQUE = 105, // "UNIQUE" + S_UPDATE = 106, // "UPDATE" + S_USING = 107, // "USING" + S_VIRTUAL = 108, // "VIRTUAL" + S_WHEN = 109, // "WHEN" + S_WHERE = 110, // "WHERE" + S_WITHOUT = 111, // "WITHOUT" + S_IDENTIFIER = 112, // "identifier" + S_NUMERIC = 113, // "numeric" + S_STRINGLITERAL = 114, // "string literal" + S_QUOTEDLITERAL = 115, // "quoted literal" + S_BLOBLITERAL = 116, // "blob literal" + S_BINDPARAMETER = 117, // "bind parameter" + S_YYACCEPT = 118, // $accept + S_sql = 119, // sql + S_statement = 120, // statement + S_literalvalue = 121, // literalvalue + S_id = 122, // id + S_allowed_keywords_as_identifier = 123, // allowed_keywords_as_identifier + S_tableid = 124, // tableid + S_columnid = 125, // columnid + S_signednumber = 126, // signednumber + S_signednumber_or_numeric = 127, // signednumber_or_numeric + S_typename_namelist = 128, // typename_namelist + S_type_name = 129, // type_name + S_unary_expr = 130, // unary_expr + S_binary_expr = 131, // binary_expr + S_like_expr = 132, // like_expr + S_exprlist_expr = 133, // exprlist_expr + S_function_expr = 134, // function_expr + S_isnull_expr = 135, // isnull_expr + S_between_expr = 136, // between_expr + S_in_expr = 137, // in_expr + S_whenthenlist_expr = 138, // whenthenlist_expr + S_case_expr = 139, // case_expr + S_raise_expr = 140, // raise_expr + S_expr = 141, // expr + S_select_stmt = 142, // select_stmt + S_optional_if_not_exists = 143, // optional_if_not_exists + S_optional_sort_order = 144, // optional_sort_order + S_optional_unique = 145, // optional_unique + S_optional_where = 146, // optional_where + S_tableid_with_uninteresting_schema = 147, // tableid_with_uninteresting_schema + S_indexed_column = 148, // indexed_column + S_indexed_column_list = 149, // indexed_column_list + S_createindex_stmt = 150, // createindex_stmt + S_optional_exprlist_with_paren = 151, // optional_exprlist_with_paren + S_createvirtualtable_stmt = 152, // createvirtualtable_stmt + S_optional_temporary = 153, // optional_temporary + S_optional_withoutrowid = 154, // optional_withoutrowid + S_optional_conflictclause = 155, // optional_conflictclause + S_optional_typename = 156, // optional_typename + S_optional_storage_identifier = 157, // optional_storage_identifier + S_optional_always_generated = 158, // optional_always_generated + S_columnconstraint = 159, // columnconstraint + S_columnconstraint_list = 160, // columnconstraint_list + S_columndef = 161, // columndef + S_columndef_list = 162, // columndef_list + S_optional_constraintname = 163, // optional_constraintname + S_columnid_list = 164, // columnid_list + S_optional_columnid_with_paren_list = 165, // optional_columnid_with_paren_list + S_fk_clause_part = 166, // fk_clause_part + S_fk_clause_part_list = 167, // fk_clause_part_list + S_optional_fk_clause = 168, // optional_fk_clause + S_tableconstraint = 169, // tableconstraint + S_tableconstraint_list = 170, // tableconstraint_list + S_optional_tableconstraint_list = 171, // optional_tableconstraint_list + S_createtable_stmt = 172 // createtable_stmt }; }; @@ -1070,6 +1073,7 @@ namespace sqlb { namespace parser { case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -1444,6 +1448,7 @@ switch (yykind) case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -3044,6 +3049,21 @@ switch (yykind) return symbol_type (token::TOK_RESTRICT, v, l); } #endif +#if 201103L <= YY_CPLUSPLUS + static + symbol_type + make_RETURNING (std::string v, location_type l) + { + return symbol_type (token::TOK_RETURNING, std::move (v), std::move (l)); + } +#else + static + symbol_type + make_RETURNING (const std::string& v, const location_type& l) + { + return symbol_type (token::TOK_RETURNING, v, l); + } +#endif #if 201103L <= YY_CPLUSPLUS static symbol_type @@ -3749,7 +3769,7 @@ switch (yykind) /// Constants. enum { - yylast_ = 3320, ///< Last index in yytable_. + yylast_ = 3424, ///< Last index in yytable_. yynnts_ = 55, ///< Number of nonterminal symbols. yyfinal_ = 13 ///< Termination state number. }; @@ -3808,10 +3828,10 @@ switch (yykind) 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 115, 116 + 115, 116, 117 }; // Last valid token kind. - const int code_max = 371; + const int code_max = 372; if (t <= 0) return symbol_kind::S_YYEOF; @@ -3940,6 +3960,7 @@ switch (yykind) case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -4144,6 +4165,7 @@ switch (yykind) case symbol_kind::S_REGEXP: // "REGEXP" case symbol_kind::S_REPLACE: // "REPLACE" case symbol_kind::S_RESTRICT: // "RESTRICT" + case symbol_kind::S_RETURNING: // "RETURNING" case symbol_kind::S_ROLLBACK: // "ROLLBACK" case symbol_kind::S_ROWID: // "ROWID" case symbol_kind::S_ROWS: // "ROWS" @@ -4272,7 +4294,7 @@ switch (yykind) #line 10 "sqlite3_parser.yy" } } // sqlb::parser -#line 4276 "sqlite3_parser.hpp" +#line 4298 "sqlite3_parser.hpp" diff --git a/src/sql/parser/sqlite3_parser.yy b/src/sql/parser/sqlite3_parser.yy index 2ab0de4d..d8f308b1 100644 --- a/src/sql/parser/sqlite3_parser.yy +++ b/src/sql/parser/sqlite3_parser.yy @@ -154,6 +154,7 @@ %token REGEXP "REGEXP" %token REPLACE "REPLACE" %token RESTRICT "RESTRICT" +%token RETURNING "RETURNING" %token ROLLBACK "ROLLBACK" %token ROWID "ROWID" %token ROWS "ROWS" @@ -322,6 +323,7 @@ allowed_keywords_as_identifier: | REGEXP | REPLACE | RESTRICT + | RETURNING | ROLLBACK | ROWID | ROWS