mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 07:25:18 +00:00
[trac5073a] regen flex/bison
This commit is contained in:
@@ -1557,19 +1557,19 @@ static const flex_int16_t yy_rule_linenum[155] =
|
||||
176, 183, 192, 201, 210, 219, 229, 238, 247, 256,
|
||||
265, 274, 285, 294, 303, 312, 321, 331, 341, 351,
|
||||
361, 371, 381, 391, 401, 411, 422, 433, 444, 453,
|
||||
463, 472, 481, 496, 512, 521, 530, 539, 548, 558,
|
||||
567, 577, 586, 595, 604, 614, 623, 632, 641, 650,
|
||||
660, 669, 678, 687, 696, 705, 714, 723, 732, 741,
|
||||
750, 760, 771, 781, 790, 800, 810, 820, 830, 840,
|
||||
849, 859, 868, 877, 886, 895, 905, 915, 925, 934,
|
||||
943, 952, 961, 970, 979, 988, 997, 1006, 1015, 1024,
|
||||
463, 472, 482, 497, 513, 522, 531, 540, 549, 559,
|
||||
568, 578, 587, 596, 605, 615, 624, 633, 642, 651,
|
||||
661, 670, 679, 688, 697, 706, 715, 724, 733, 742,
|
||||
751, 761, 772, 782, 791, 801, 811, 821, 831, 841,
|
||||
850, 860, 869, 878, 887, 896, 906, 916, 926, 935,
|
||||
944, 953, 962, 971, 980, 989, 998, 1007, 1016, 1025,
|
||||
|
||||
1033, 1042, 1051, 1060, 1069, 1078, 1087, 1096, 1105, 1114,
|
||||
1123, 1132, 1141, 1150, 1159, 1168, 1177, 1187, 1197, 1207,
|
||||
1217, 1227, 1237, 1247, 1257, 1267, 1276, 1285, 1294, 1303,
|
||||
1312, 1321, 1332, 1343, 1356, 1367, 1380, 1478, 1483, 1488,
|
||||
1493, 1494, 1495, 1496, 1497, 1498, 1500, 1518, 1531, 1536,
|
||||
1540, 1542, 1544, 1546
|
||||
1034, 1043, 1052, 1061, 1070, 1079, 1088, 1097, 1106, 1115,
|
||||
1124, 1133, 1142, 1151, 1160, 1169, 1178, 1188, 1198, 1208,
|
||||
1218, 1228, 1238, 1248, 1258, 1268, 1277, 1286, 1295, 1304,
|
||||
1313, 1322, 1333, 1344, 1357, 1368, 1381, 1479, 1484, 1489,
|
||||
1494, 1495, 1496, 1497, 1498, 1499, 1501, 1519, 1532, 1537,
|
||||
1541, 1543, 1545, 1547
|
||||
} ;
|
||||
|
||||
/* The intent behind this definition is that it'll catch
|
||||
@@ -2520,6 +2520,7 @@ YY_RULE_SETUP
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
case isc::dhcp::Parser4Context::CLIENT_CLASSES:
|
||||
return isc::dhcp::Dhcp4Parser::make_OPTION_DEF(driver.loc_);
|
||||
default:
|
||||
return isc::dhcp::Dhcp4Parser::make_STRING("option-def", driver.loc_);
|
||||
@@ -2528,7 +2529,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 43:
|
||||
YY_RULE_SETUP
|
||||
#line 481 "dhcp4_lexer.ll"
|
||||
#line 482 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -2546,7 +2547,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 44:
|
||||
YY_RULE_SETUP
|
||||
#line 496 "dhcp4_lexer.ll"
|
||||
#line 497 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::LEASE_DATABASE:
|
||||
@@ -2565,7 +2566,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 45:
|
||||
YY_RULE_SETUP
|
||||
#line 512 "dhcp4_lexer.ll"
|
||||
#line 513 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DATA:
|
||||
@@ -2577,7 +2578,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 46:
|
||||
YY_RULE_SETUP
|
||||
#line 521 "dhcp4_lexer.ll"
|
||||
#line 522 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DATA:
|
||||
@@ -2589,7 +2590,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 47:
|
||||
YY_RULE_SETUP
|
||||
#line 530 "dhcp4_lexer.ll"
|
||||
#line 531 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2601,7 +2602,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 48:
|
||||
YY_RULE_SETUP
|
||||
#line 539 "dhcp4_lexer.ll"
|
||||
#line 540 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::POOLS:
|
||||
@@ -2613,7 +2614,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 49:
|
||||
YY_RULE_SETUP
|
||||
#line 548 "dhcp4_lexer.ll"
|
||||
#line 549 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2626,7 +2627,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 50:
|
||||
YY_RULE_SETUP
|
||||
#line 558 "dhcp4_lexer.ll"
|
||||
#line 559 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2638,7 +2639,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 51:
|
||||
YY_RULE_SETUP
|
||||
#line 567 "dhcp4_lexer.ll"
|
||||
#line 568 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2651,7 +2652,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 52:
|
||||
YY_RULE_SETUP
|
||||
#line 577 "dhcp4_lexer.ll"
|
||||
#line 578 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2663,7 +2664,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 53:
|
||||
YY_RULE_SETUP
|
||||
#line 586 "dhcp4_lexer.ll"
|
||||
#line 587 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2675,7 +2676,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 54:
|
||||
YY_RULE_SETUP
|
||||
#line 595 "dhcp4_lexer.ll"
|
||||
#line 596 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2687,7 +2688,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 55:
|
||||
YY_RULE_SETUP
|
||||
#line 604 "dhcp4_lexer.ll"
|
||||
#line 605 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2700,7 +2701,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 56:
|
||||
YY_RULE_SETUP
|
||||
#line 614 "dhcp4_lexer.ll"
|
||||
#line 615 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::RESERVATION_MODE:
|
||||
@@ -2712,7 +2713,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 57:
|
||||
YY_RULE_SETUP
|
||||
#line 623 "dhcp4_lexer.ll"
|
||||
#line 624 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::RESERVATION_MODE:
|
||||
@@ -2724,7 +2725,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 58:
|
||||
YY_RULE_SETUP
|
||||
#line 632 "dhcp4_lexer.ll"
|
||||
#line 633 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::RESERVATION_MODE:
|
||||
@@ -2736,7 +2737,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 59:
|
||||
YY_RULE_SETUP
|
||||
#line 641 "dhcp4_lexer.ll"
|
||||
#line 642 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::RESERVATION_MODE:
|
||||
@@ -2748,7 +2749,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 60:
|
||||
YY_RULE_SETUP
|
||||
#line 650 "dhcp4_lexer.ll"
|
||||
#line 651 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DEF:
|
||||
@@ -2761,7 +2762,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 61:
|
||||
YY_RULE_SETUP
|
||||
#line 660 "dhcp4_lexer.ll"
|
||||
#line 661 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -2773,7 +2774,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 62:
|
||||
YY_RULE_SETUP
|
||||
#line 669 "dhcp4_lexer.ll"
|
||||
#line 670 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CONFIG:
|
||||
@@ -2785,7 +2786,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 63:
|
||||
YY_RULE_SETUP
|
||||
#line 678 "dhcp4_lexer.ll"
|
||||
#line 679 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::LOGGING:
|
||||
@@ -2797,7 +2798,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 64:
|
||||
YY_RULE_SETUP
|
||||
#line 687 "dhcp4_lexer.ll"
|
||||
#line 688 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::LOGGERS:
|
||||
@@ -2809,7 +2810,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 65:
|
||||
YY_RULE_SETUP
|
||||
#line 696 "dhcp4_lexer.ll"
|
||||
#line 697 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OUTPUT_OPTIONS:
|
||||
@@ -2821,7 +2822,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 66:
|
||||
YY_RULE_SETUP
|
||||
#line 705 "dhcp4_lexer.ll"
|
||||
#line 706 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::LOGGERS:
|
||||
@@ -2833,7 +2834,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 67:
|
||||
YY_RULE_SETUP
|
||||
#line 714 "dhcp4_lexer.ll"
|
||||
#line 715 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OUTPUT_OPTIONS:
|
||||
@@ -2845,7 +2846,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 68:
|
||||
YY_RULE_SETUP
|
||||
#line 723 "dhcp4_lexer.ll"
|
||||
#line 724 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OUTPUT_OPTIONS:
|
||||
@@ -2857,7 +2858,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 69:
|
||||
YY_RULE_SETUP
|
||||
#line 732 "dhcp4_lexer.ll"
|
||||
#line 733 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OUTPUT_OPTIONS:
|
||||
@@ -2869,7 +2870,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 70:
|
||||
YY_RULE_SETUP
|
||||
#line 741 "dhcp4_lexer.ll"
|
||||
#line 742 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::LOGGERS:
|
||||
@@ -2881,7 +2882,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 71:
|
||||
YY_RULE_SETUP
|
||||
#line 750 "dhcp4_lexer.ll"
|
||||
#line 751 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -2894,7 +2895,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 72:
|
||||
YY_RULE_SETUP
|
||||
#line 760 "dhcp4_lexer.ll"
|
||||
#line 761 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2908,7 +2909,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 73:
|
||||
YY_RULE_SETUP
|
||||
#line 771 "dhcp4_lexer.ll"
|
||||
#line 772 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CLIENT_CLASSES:
|
||||
@@ -2921,7 +2922,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 74:
|
||||
YY_RULE_SETUP
|
||||
#line 781 "dhcp4_lexer.ll"
|
||||
#line 782 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -2933,7 +2934,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 75:
|
||||
YY_RULE_SETUP
|
||||
#line 790 "dhcp4_lexer.ll"
|
||||
#line 791 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
|
||||
@@ -2946,7 +2947,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 76:
|
||||
YY_RULE_SETUP
|
||||
#line 800 "dhcp4_lexer.ll"
|
||||
#line 801 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
|
||||
@@ -2959,7 +2960,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 77:
|
||||
YY_RULE_SETUP
|
||||
#line 810 "dhcp4_lexer.ll"
|
||||
#line 811 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
|
||||
@@ -2972,7 +2973,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 78:
|
||||
YY_RULE_SETUP
|
||||
#line 820 "dhcp4_lexer.ll"
|
||||
#line 821 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
|
||||
@@ -2985,7 +2986,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 79:
|
||||
YY_RULE_SETUP
|
||||
#line 830 "dhcp4_lexer.ll"
|
||||
#line 831 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
|
||||
@@ -2998,7 +2999,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 80:
|
||||
YY_RULE_SETUP
|
||||
#line 840 "dhcp4_lexer.ll"
|
||||
#line 841 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::RESERVATIONS:
|
||||
@@ -3010,7 +3011,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 81:
|
||||
YY_RULE_SETUP
|
||||
#line 849 "dhcp4_lexer.ll"
|
||||
#line 850 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DEF:
|
||||
@@ -3023,7 +3024,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 82:
|
||||
YY_RULE_SETUP
|
||||
#line 859 "dhcp4_lexer.ll"
|
||||
#line 860 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DATA:
|
||||
@@ -3035,7 +3036,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 83:
|
||||
YY_RULE_SETUP
|
||||
#line 868 "dhcp4_lexer.ll"
|
||||
#line 869 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DEF:
|
||||
@@ -3047,7 +3048,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 84:
|
||||
YY_RULE_SETUP
|
||||
#line 877 "dhcp4_lexer.ll"
|
||||
#line 878 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DEF:
|
||||
@@ -3059,7 +3060,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 85:
|
||||
YY_RULE_SETUP
|
||||
#line 886 "dhcp4_lexer.ll"
|
||||
#line 887 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::OPTION_DEF:
|
||||
@@ -3071,7 +3072,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 86:
|
||||
YY_RULE_SETUP
|
||||
#line 895 "dhcp4_lexer.ll"
|
||||
#line 896 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -3084,7 +3085,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 87:
|
||||
YY_RULE_SETUP
|
||||
#line 905 "dhcp4_lexer.ll"
|
||||
#line 906 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::RELAY:
|
||||
@@ -3097,7 +3098,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 88:
|
||||
YY_RULE_SETUP
|
||||
#line 915 "dhcp4_lexer.ll"
|
||||
#line 916 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3109,7 +3110,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 89:
|
||||
YY_RULE_SETUP
|
||||
#line 925 "dhcp4_lexer.ll"
|
||||
#line 926 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOOKS_LIBRARIES:
|
||||
@@ -3121,7 +3122,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 90:
|
||||
YY_RULE_SETUP
|
||||
#line 934 "dhcp4_lexer.ll"
|
||||
#line 935 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::HOOKS_LIBRARIES:
|
||||
@@ -3133,7 +3134,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 91:
|
||||
YY_RULE_SETUP
|
||||
#line 943 "dhcp4_lexer.ll"
|
||||
#line 944 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3145,7 +3146,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 92:
|
||||
YY_RULE_SETUP
|
||||
#line 952 "dhcp4_lexer.ll"
|
||||
#line 953 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING:
|
||||
@@ -3157,7 +3158,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 93:
|
||||
YY_RULE_SETUP
|
||||
#line 961 "dhcp4_lexer.ll"
|
||||
#line 962 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING:
|
||||
@@ -3169,7 +3170,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 94:
|
||||
YY_RULE_SETUP
|
||||
#line 970 "dhcp4_lexer.ll"
|
||||
#line 971 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING:
|
||||
@@ -3181,7 +3182,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 95:
|
||||
YY_RULE_SETUP
|
||||
#line 979 "dhcp4_lexer.ll"
|
||||
#line 980 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING:
|
||||
@@ -3193,7 +3194,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 96:
|
||||
YY_RULE_SETUP
|
||||
#line 988 "dhcp4_lexer.ll"
|
||||
#line 989 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING:
|
||||
@@ -3205,7 +3206,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 97:
|
||||
YY_RULE_SETUP
|
||||
#line 997 "dhcp4_lexer.ll"
|
||||
#line 998 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::EXPIRED_LEASES_PROCESSING:
|
||||
@@ -3217,7 +3218,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 98:
|
||||
YY_RULE_SETUP
|
||||
#line 1006 "dhcp4_lexer.ll"
|
||||
#line 1007 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3229,7 +3230,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 99:
|
||||
YY_RULE_SETUP
|
||||
#line 1015 "dhcp4_lexer.ll"
|
||||
#line 1016 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3241,7 +3242,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 100:
|
||||
YY_RULE_SETUP
|
||||
#line 1024 "dhcp4_lexer.ll"
|
||||
#line 1025 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CONTROL_SOCKET:
|
||||
@@ -3253,7 +3254,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 101:
|
||||
YY_RULE_SETUP
|
||||
#line 1033 "dhcp4_lexer.ll"
|
||||
#line 1034 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CONTROL_SOCKET:
|
||||
@@ -3265,7 +3266,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 102:
|
||||
YY_RULE_SETUP
|
||||
#line 1042 "dhcp4_lexer.ll"
|
||||
#line 1043 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3277,7 +3278,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 103:
|
||||
YY_RULE_SETUP
|
||||
#line 1051 "dhcp4_lexer.ll"
|
||||
#line 1052 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3289,7 +3290,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 104:
|
||||
YY_RULE_SETUP
|
||||
#line 1060 "dhcp4_lexer.ll"
|
||||
#line 1061 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3301,7 +3302,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 105:
|
||||
YY_RULE_SETUP
|
||||
#line 1069 "dhcp4_lexer.ll"
|
||||
#line 1070 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3313,7 +3314,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 106:
|
||||
YY_RULE_SETUP
|
||||
#line 1078 "dhcp4_lexer.ll"
|
||||
#line 1079 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3325,7 +3326,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 107:
|
||||
YY_RULE_SETUP
|
||||
#line 1087 "dhcp4_lexer.ll"
|
||||
#line 1088 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3337,7 +3338,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 108:
|
||||
YY_RULE_SETUP
|
||||
#line 1096 "dhcp4_lexer.ll"
|
||||
#line 1097 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3349,7 +3350,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 109:
|
||||
YY_RULE_SETUP
|
||||
#line 1105 "dhcp4_lexer.ll"
|
||||
#line 1106 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3361,7 +3362,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 110:
|
||||
YY_RULE_SETUP
|
||||
#line 1114 "dhcp4_lexer.ll"
|
||||
#line 1115 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3373,7 +3374,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 111:
|
||||
YY_RULE_SETUP
|
||||
#line 1123 "dhcp4_lexer.ll"
|
||||
#line 1124 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3385,7 +3386,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 112:
|
||||
YY_RULE_SETUP
|
||||
#line 1132 "dhcp4_lexer.ll"
|
||||
#line 1133 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3397,7 +3398,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 113:
|
||||
YY_RULE_SETUP
|
||||
#line 1141 "dhcp4_lexer.ll"
|
||||
#line 1142 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3409,7 +3410,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 114:
|
||||
YY_RULE_SETUP
|
||||
#line 1150 "dhcp4_lexer.ll"
|
||||
#line 1151 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3421,7 +3422,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 115:
|
||||
YY_RULE_SETUP
|
||||
#line 1159 "dhcp4_lexer.ll"
|
||||
#line 1160 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3433,7 +3434,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 116:
|
||||
YY_RULE_SETUP
|
||||
#line 1168 "dhcp4_lexer.ll"
|
||||
#line 1169 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP_DDNS:
|
||||
@@ -3445,7 +3446,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 117:
|
||||
YY_RULE_SETUP
|
||||
#line 1177 "dhcp4_lexer.ll"
|
||||
#line 1178 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_PROTOCOL) {
|
||||
@@ -3458,7 +3459,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 118:
|
||||
YY_RULE_SETUP
|
||||
#line 1187 "dhcp4_lexer.ll"
|
||||
#line 1188 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_PROTOCOL) {
|
||||
@@ -3471,7 +3472,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 119:
|
||||
YY_RULE_SETUP
|
||||
#line 1197 "dhcp4_lexer.ll"
|
||||
#line 1198 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::NCR_FORMAT) {
|
||||
@@ -3484,7 +3485,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 120:
|
||||
YY_RULE_SETUP
|
||||
#line 1207 "dhcp4_lexer.ll"
|
||||
#line 1208 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) {
|
||||
@@ -3497,7 +3498,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 121:
|
||||
YY_RULE_SETUP
|
||||
#line 1217 "dhcp4_lexer.ll"
|
||||
#line 1218 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) {
|
||||
@@ -3510,7 +3511,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 122:
|
||||
YY_RULE_SETUP
|
||||
#line 1227 "dhcp4_lexer.ll"
|
||||
#line 1228 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) {
|
||||
@@ -3523,7 +3524,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 123:
|
||||
YY_RULE_SETUP
|
||||
#line 1237 "dhcp4_lexer.ll"
|
||||
#line 1238 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) {
|
||||
@@ -3536,7 +3537,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 124:
|
||||
YY_RULE_SETUP
|
||||
#line 1247 "dhcp4_lexer.ll"
|
||||
#line 1248 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) {
|
||||
@@ -3549,7 +3550,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 125:
|
||||
YY_RULE_SETUP
|
||||
#line 1257 "dhcp4_lexer.ll"
|
||||
#line 1258 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* dhcp-ddns value keywords are case insensitive */
|
||||
if (driver.ctx_ == isc::dhcp::Parser4Context::REPLACE_CLIENT_NAME) {
|
||||
@@ -3562,7 +3563,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 126:
|
||||
YY_RULE_SETUP
|
||||
#line 1267 "dhcp4_lexer.ll"
|
||||
#line 1268 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CONFIG:
|
||||
@@ -3574,7 +3575,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 127:
|
||||
YY_RULE_SETUP
|
||||
#line 1276 "dhcp4_lexer.ll"
|
||||
#line 1277 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CONFIG:
|
||||
@@ -3586,7 +3587,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 128:
|
||||
YY_RULE_SETUP
|
||||
#line 1285 "dhcp4_lexer.ll"
|
||||
#line 1286 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::CONFIG:
|
||||
@@ -3598,7 +3599,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 129:
|
||||
YY_RULE_SETUP
|
||||
#line 1294 "dhcp4_lexer.ll"
|
||||
#line 1295 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -3610,7 +3611,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 130:
|
||||
YY_RULE_SETUP
|
||||
#line 1303 "dhcp4_lexer.ll"
|
||||
#line 1304 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -3622,7 +3623,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 131:
|
||||
YY_RULE_SETUP
|
||||
#line 1312 "dhcp4_lexer.ll"
|
||||
#line 1313 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -3634,7 +3635,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 132:
|
||||
YY_RULE_SETUP
|
||||
#line 1321 "dhcp4_lexer.ll"
|
||||
#line 1322 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3648,7 +3649,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 133:
|
||||
YY_RULE_SETUP
|
||||
#line 1332 "dhcp4_lexer.ll"
|
||||
#line 1333 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3662,7 +3663,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 134:
|
||||
YY_RULE_SETUP
|
||||
#line 1343 "dhcp4_lexer.ll"
|
||||
#line 1344 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::DHCP4:
|
||||
@@ -3678,7 +3679,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 135:
|
||||
YY_RULE_SETUP
|
||||
#line 1356 "dhcp4_lexer.ll"
|
||||
#line 1357 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -3692,7 +3693,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 136:
|
||||
YY_RULE_SETUP
|
||||
#line 1367 "dhcp4_lexer.ll"
|
||||
#line 1368 "dhcp4_lexer.ll"
|
||||
{
|
||||
switch(driver.ctx_) {
|
||||
case isc::dhcp::Parser4Context::SUBNET4:
|
||||
@@ -3706,7 +3707,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 137:
|
||||
YY_RULE_SETUP
|
||||
#line 1380 "dhcp4_lexer.ll"
|
||||
#line 1381 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* A string has been matched. It contains the actual string and single quotes.
|
||||
We need to get those quotes out of the way and just use its content, e.g.
|
||||
@@ -3808,7 +3809,7 @@ YY_RULE_SETUP
|
||||
case 138:
|
||||
/* rule 138 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 1478 "dhcp4_lexer.ll"
|
||||
#line 1479 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* Bad string with a forbidden control character inside */
|
||||
driver.error(driver.loc_, "Invalid control in " + std::string(yytext));
|
||||
@@ -3817,7 +3818,7 @@ YY_RULE_SETUP
|
||||
case 139:
|
||||
/* rule 139 can match eol */
|
||||
YY_RULE_SETUP
|
||||
#line 1483 "dhcp4_lexer.ll"
|
||||
#line 1484 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* Bad string with a bad escape inside */
|
||||
driver.error(driver.loc_, "Bad escape in " + std::string(yytext));
|
||||
@@ -3825,7 +3826,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 140:
|
||||
YY_RULE_SETUP
|
||||
#line 1488 "dhcp4_lexer.ll"
|
||||
#line 1489 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* Bad string with an open escape at the end */
|
||||
driver.error(driver.loc_, "Overflow escape in " + std::string(yytext));
|
||||
@@ -3833,37 +3834,37 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 141:
|
||||
YY_RULE_SETUP
|
||||
#line 1493 "dhcp4_lexer.ll"
|
||||
#line 1494 "dhcp4_lexer.ll"
|
||||
{ return isc::dhcp::Dhcp4Parser::make_LSQUARE_BRACKET(driver.loc_); }
|
||||
YY_BREAK
|
||||
case 142:
|
||||
YY_RULE_SETUP
|
||||
#line 1494 "dhcp4_lexer.ll"
|
||||
#line 1495 "dhcp4_lexer.ll"
|
||||
{ return isc::dhcp::Dhcp4Parser::make_RSQUARE_BRACKET(driver.loc_); }
|
||||
YY_BREAK
|
||||
case 143:
|
||||
YY_RULE_SETUP
|
||||
#line 1495 "dhcp4_lexer.ll"
|
||||
#line 1496 "dhcp4_lexer.ll"
|
||||
{ return isc::dhcp::Dhcp4Parser::make_LCURLY_BRACKET(driver.loc_); }
|
||||
YY_BREAK
|
||||
case 144:
|
||||
YY_RULE_SETUP
|
||||
#line 1496 "dhcp4_lexer.ll"
|
||||
#line 1497 "dhcp4_lexer.ll"
|
||||
{ return isc::dhcp::Dhcp4Parser::make_RCURLY_BRACKET(driver.loc_); }
|
||||
YY_BREAK
|
||||
case 145:
|
||||
YY_RULE_SETUP
|
||||
#line 1497 "dhcp4_lexer.ll"
|
||||
#line 1498 "dhcp4_lexer.ll"
|
||||
{ return isc::dhcp::Dhcp4Parser::make_COMMA(driver.loc_); }
|
||||
YY_BREAK
|
||||
case 146:
|
||||
YY_RULE_SETUP
|
||||
#line 1498 "dhcp4_lexer.ll"
|
||||
#line 1499 "dhcp4_lexer.ll"
|
||||
{ return isc::dhcp::Dhcp4Parser::make_COLON(driver.loc_); }
|
||||
YY_BREAK
|
||||
case 147:
|
||||
YY_RULE_SETUP
|
||||
#line 1500 "dhcp4_lexer.ll"
|
||||
#line 1501 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* An integer was found. */
|
||||
std::string tmp(yytext);
|
||||
@@ -3884,7 +3885,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 148:
|
||||
YY_RULE_SETUP
|
||||
#line 1518 "dhcp4_lexer.ll"
|
||||
#line 1519 "dhcp4_lexer.ll"
|
||||
{
|
||||
/* A floating point was found. */
|
||||
std::string tmp(yytext);
|
||||
@@ -3900,7 +3901,7 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 149:
|
||||
YY_RULE_SETUP
|
||||
#line 1531 "dhcp4_lexer.ll"
|
||||
#line 1532 "dhcp4_lexer.ll"
|
||||
{
|
||||
string tmp(yytext);
|
||||
return isc::dhcp::Dhcp4Parser::make_BOOLEAN(tmp == "true", driver.loc_);
|
||||
@@ -3908,33 +3909,33 @@ YY_RULE_SETUP
|
||||
YY_BREAK
|
||||
case 150:
|
||||
YY_RULE_SETUP
|
||||
#line 1536 "dhcp4_lexer.ll"
|
||||
#line 1537 "dhcp4_lexer.ll"
|
||||
{
|
||||
return isc::dhcp::Dhcp4Parser::make_NULL_TYPE(driver.loc_);
|
||||
}
|
||||
YY_BREAK
|
||||
case 151:
|
||||
YY_RULE_SETUP
|
||||
#line 1540 "dhcp4_lexer.ll"
|
||||
#line 1541 "dhcp4_lexer.ll"
|
||||
driver.error (driver.loc_, "JSON true reserved keyword is lower case only");
|
||||
YY_BREAK
|
||||
case 152:
|
||||
YY_RULE_SETUP
|
||||
#line 1542 "dhcp4_lexer.ll"
|
||||
#line 1543 "dhcp4_lexer.ll"
|
||||
driver.error (driver.loc_, "JSON false reserved keyword is lower case only");
|
||||
YY_BREAK
|
||||
case 153:
|
||||
YY_RULE_SETUP
|
||||
#line 1544 "dhcp4_lexer.ll"
|
||||
#line 1545 "dhcp4_lexer.ll"
|
||||
driver.error (driver.loc_, "JSON null reserved keyword is lower case only");
|
||||
YY_BREAK
|
||||
case 154:
|
||||
YY_RULE_SETUP
|
||||
#line 1546 "dhcp4_lexer.ll"
|
||||
#line 1547 "dhcp4_lexer.ll"
|
||||
driver.error (driver.loc_, "Invalid character: " + std::string(yytext));
|
||||
YY_BREAK
|
||||
case YY_STATE_EOF(INITIAL):
|
||||
#line 1548 "dhcp4_lexer.ll"
|
||||
#line 1549 "dhcp4_lexer.ll"
|
||||
{
|
||||
if (driver.states_.empty()) {
|
||||
return isc::dhcp::Dhcp4Parser::make_END(driver.loc_);
|
||||
@@ -3960,10 +3961,10 @@ case YY_STATE_EOF(INITIAL):
|
||||
YY_BREAK
|
||||
case 155:
|
||||
YY_RULE_SETUP
|
||||
#line 1571 "dhcp4_lexer.ll"
|
||||
#line 1572 "dhcp4_lexer.ll"
|
||||
ECHO;
|
||||
YY_BREAK
|
||||
#line 3966 "dhcp4_lexer.cc"
|
||||
#line 3967 "dhcp4_lexer.cc"
|
||||
|
||||
case YY_END_OF_BUFFER:
|
||||
{
|
||||
@@ -5068,7 +5069,7 @@ void yyfree (void * ptr )
|
||||
|
||||
/* %ok-for-header */
|
||||
|
||||
#line 1571 "dhcp4_lexer.ll"
|
||||
#line 1572 "dhcp4_lexer.ll"
|
||||
|
||||
|
||||
using namespace isc::dhcp;
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1390,7 +1390,7 @@ namespace isc { namespace dhcp {
|
||||
enum
|
||||
{
|
||||
yyeof_ = 0,
|
||||
yylast_ = 787, ///< Last index in yytable_.
|
||||
yylast_ = 788, ///< Last index in yytable_.
|
||||
yynnts_ = 329, ///< Number of nonterminal symbols.
|
||||
yyfinal_ = 26, ///< Termination state number.
|
||||
yyterror_ = 1,
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Generated 201709141022
|
||||
// Generated 201709191838
|
||||
// A Bison parser, made by GNU Bison 3.0.4.
|
||||
|
||||
// Locations for Bison parsers in C++
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Generated 201709141022
|
||||
// Generated 201709191838
|
||||
// A Bison parser, made by GNU Bison 3.0.4.
|
||||
|
||||
// Positions for Bison parsers in C++
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Generated 201709141022
|
||||
// Generated 201709191838
|
||||
// A Bison parser, made by GNU Bison 3.0.4.
|
||||
|
||||
// Stack handling for Bison parsers in C++
|
||||
|
Reference in New Issue
Block a user