static yyconst flex_int16_t yy_rule_linenum[110] =
{ 0,
128, 130, 132, 137, 138, 143, 144, 145, 157, 160,
- 165, 172, 181, 190, 199, 209, 219, 228, 237, 246,
- 255, 267, 277, 287, 297, 308, 318, 328, 338, 348,
- 357, 366, 375, 389, 404, 413, 422, 431, 440, 449,
- 458, 467, 476, 485, 495, 504, 513, 522, 531, 540,
- 549, 558, 568, 578, 588, 597, 607, 617, 627, 637,
- 646, 656, 665, 674, 683, 692, 701, 711, 721, 730,
- 739, 748, 757, 766, 775, 784, 793, 802, 811, 820,
- 829, 838, 847, 856, 865, 874, 883, 893, 903, 915,
- 926, 939, 1037, 1042, 1047, 1052, 1053, 1054, 1055, 1056,
-
- 1057, 1059, 1077, 1090, 1095, 1099, 1101, 1103, 1105
+ 165, 172, 181, 190, 199, 208, 217, 226, 235, 244,
+ 253, 265, 275, 285, 295, 306, 316, 326, 336, 346,
+ 355, 364, 373, 387, 402, 411, 420, 429, 438, 447,
+ 456, 465, 474, 483, 493, 502, 511, 520, 529, 538,
+ 547, 556, 566, 576, 586, 595, 605, 615, 625, 635,
+ 644, 654, 663, 672, 681, 690, 699, 709, 719, 728,
+ 737, 746, 755, 764, 773, 782, 791, 800, 809, 818,
+ 827, 836, 845, 854, 863, 872, 881, 891, 901, 913,
+ 924, 937, 1035, 1040, 1045, 1050, 1051, 1052, 1053, 1054,
+
+ 1055, 1057, 1075, 1088, 1093, 1097, 1099, 1101, 1103
} ;
/* The intent behind this definition is that it'll catch
#define YY_RESTORE_YY_MORE_OFFSET
char *parser4_text;
#line 1 "dhcp4_lexer.ll"
-/* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
+/* Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC")
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
YY_BREAK
case 16:
YY_RULE_SETUP
-#line 209 "dhcp4_lexer.ll"
+#line 208 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP_SOCKET_TYPE:
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 219 "dhcp4_lexer.ll"
+#line 217 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::INTERFACES_CONFIG:
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 228 "dhcp4_lexer.ll"
+#line 226 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 19:
YY_RULE_SETUP
-#line 237 "dhcp4_lexer.ll"
+#line 235 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 20:
YY_RULE_SETUP
-#line 246 "dhcp4_lexer.ll"
+#line 244 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOSTS_DATABASE:
YY_BREAK
case 21:
YY_RULE_SETUP
-#line 255 "dhcp4_lexer.ll"
+#line 253 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 267 "dhcp4_lexer.ll"
+#line 265 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 277 "dhcp4_lexer.ll"
+#line 275 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 287 "dhcp4_lexer.ll"
+#line 285 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 297 "dhcp4_lexer.ll"
+#line 295 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 26:
YY_RULE_SETUP
-#line 308 "dhcp4_lexer.ll"
+#line 306 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 27:
YY_RULE_SETUP
-#line 318 "dhcp4_lexer.ll"
+#line 316 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 328 "dhcp4_lexer.ll"
+#line 326 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 29:
YY_RULE_SETUP
-#line 338 "dhcp4_lexer.ll"
+#line 336 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 30:
YY_RULE_SETUP
-#line 348 "dhcp4_lexer.ll"
+#line 346 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 357 "dhcp4_lexer.ll"
+#line 355 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 366 "dhcp4_lexer.ll"
+#line 364 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 33:
YY_RULE_SETUP
-#line 375 "dhcp4_lexer.ll"
+#line 373 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 34:
YY_RULE_SETUP
-#line 389 "dhcp4_lexer.ll"
+#line 387 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LEASE_DATABASE:
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 404 "dhcp4_lexer.ll"
+#line 402 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DATA:
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 413 "dhcp4_lexer.ll"
+#line 411 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 422 "dhcp4_lexer.ll"
+#line 420 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::POOLS:
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 431 "dhcp4_lexer.ll"
+#line 429 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 440 "dhcp4_lexer.ll"
+#line 438 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 449 "dhcp4_lexer.ll"
+#line 447 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 458 "dhcp4_lexer.ll"
+#line 456 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 467 "dhcp4_lexer.ll"
+#line 465 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 43:
YY_RULE_SETUP
-#line 476 "dhcp4_lexer.ll"
+#line 474 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 485 "dhcp4_lexer.ll"
+#line 483 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DEF:
YY_BREAK
case 45:
YY_RULE_SETUP
-#line 495 "dhcp4_lexer.ll"
+#line 493 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 504 "dhcp4_lexer.ll"
+#line 502 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::CONFIG:
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 513 "dhcp4_lexer.ll"
+#line 511 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LOGGING:
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 522 "dhcp4_lexer.ll"
+#line 520 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LOGGERS:
YY_BREAK
case 49:
YY_RULE_SETUP
-#line 531 "dhcp4_lexer.ll"
+#line 529 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OUTPUT_OPTIONS:
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 540 "dhcp4_lexer.ll"
+#line 538 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LOGGERS:
YY_BREAK
case 51:
YY_RULE_SETUP
-#line 549 "dhcp4_lexer.ll"
+#line 547 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::LOGGERS:
YY_BREAK
case 52:
YY_RULE_SETUP
-#line 558 "dhcp4_lexer.ll"
+#line 556 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 568 "dhcp4_lexer.ll"
+#line 566 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 578 "dhcp4_lexer.ll"
+#line 576 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::CLIENT_CLASSES:
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 588 "dhcp4_lexer.ll"
+#line 586 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 597 "dhcp4_lexer.ll"
+#line 595 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 607 "dhcp4_lexer.ll"
+#line 605 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 617 "dhcp4_lexer.ll"
+#line 615 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 627 "dhcp4_lexer.ll"
+#line 625 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOST_RESERVATION_IDENTIFIERS:
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 637 "dhcp4_lexer.ll"
+#line 635 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::RESERVATIONS:
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 646 "dhcp4_lexer.ll"
+#line 644 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DEF:
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 656 "dhcp4_lexer.ll"
+#line 654 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DATA:
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 665 "dhcp4_lexer.ll"
+#line 663 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DEF:
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 674 "dhcp4_lexer.ll"
+#line 672 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DEF:
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 683 "dhcp4_lexer.ll"
+#line 681 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::OPTION_DEF:
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 692 "dhcp4_lexer.ll"
+#line 690 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 701 "dhcp4_lexer.ll"
+#line 699 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::RELAY:
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 711 "dhcp4_lexer.ll"
+#line 709 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 69:
YY_RULE_SETUP
-#line 721 "dhcp4_lexer.ll"
+#line 719 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOOKS_LIBRARIES:
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 730 "dhcp4_lexer.ll"
+#line 728 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::HOOKS_LIBRARIES:
YY_BREAK
case 71:
YY_RULE_SETUP
-#line 739 "dhcp4_lexer.ll"
+#line 737 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 72:
YY_RULE_SETUP
-#line 748 "dhcp4_lexer.ll"
+#line 746 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SERVER_ID:
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 757 "dhcp4_lexer.ll"
+#line 755 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SERVER_ID:
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 766 "dhcp4_lexer.ll"
+#line 764 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SERVER_ID:
YY_BREAK
case 75:
YY_RULE_SETUP
-#line 775 "dhcp4_lexer.ll"
+#line 773 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SERVER_ID:
YY_BREAK
case 76:
YY_RULE_SETUP
-#line 784 "dhcp4_lexer.ll"
+#line 782 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 77:
YY_RULE_SETUP
-#line 793 "dhcp4_lexer.ll"
+#line 791 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 78:
YY_RULE_SETUP
-#line 802 "dhcp4_lexer.ll"
+#line 800 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 79:
YY_RULE_SETUP
-#line 811 "dhcp4_lexer.ll"
+#line 809 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::CONTROL_SOCKET:
YY_BREAK
case 80:
YY_RULE_SETUP
-#line 820 "dhcp4_lexer.ll"
+#line 818 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::CONTROL_SOCKET:
YY_BREAK
case 81:
YY_RULE_SETUP
-#line 829 "dhcp4_lexer.ll"
+#line 827 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 82:
YY_RULE_SETUP
-#line 838 "dhcp4_lexer.ll"
+#line 836 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::CONFIG:
YY_BREAK
case 83:
YY_RULE_SETUP
-#line 847 "dhcp4_lexer.ll"
+#line 845 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::CONFIG:
YY_BREAK
case 84:
YY_RULE_SETUP
-#line 856 "dhcp4_lexer.ll"
+#line 854 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 85:
YY_RULE_SETUP
-#line 865 "dhcp4_lexer.ll"
+#line 863 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 86:
YY_RULE_SETUP
-#line 874 "dhcp4_lexer.ll"
+#line 872 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 87:
YY_RULE_SETUP
-#line 883 "dhcp4_lexer.ll"
+#line 881 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 88:
YY_RULE_SETUP
-#line 893 "dhcp4_lexer.ll"
+#line 891 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 89:
YY_RULE_SETUP
-#line 903 "dhcp4_lexer.ll"
+#line 901 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4:
YY_BREAK
case 90:
YY_RULE_SETUP
-#line 915 "dhcp4_lexer.ll"
+#line 913 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 91:
YY_RULE_SETUP
-#line 926 "dhcp4_lexer.ll"
+#line 924 "dhcp4_lexer.ll"
{
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
YY_BREAK
case 92:
YY_RULE_SETUP
-#line 939 "dhcp4_lexer.ll"
+#line 937 "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.
case 93:
/* rule 93 can match eol */
YY_RULE_SETUP
-#line 1037 "dhcp4_lexer.ll"
+#line 1035 "dhcp4_lexer.ll"
{
// Bad string with a forbidden control character inside
driver.error(driver.loc_, "Invalid control in " + std::string(parser4_text));
case 94:
/* rule 94 can match eol */
YY_RULE_SETUP
-#line 1042 "dhcp4_lexer.ll"
+#line 1040 "dhcp4_lexer.ll"
{
// Bad string with a bad escape inside
driver.error(driver.loc_, "Bad escape in " + std::string(parser4_text));
YY_BREAK
case 95:
YY_RULE_SETUP
-#line 1047 "dhcp4_lexer.ll"
+#line 1045 "dhcp4_lexer.ll"
{
// Bad string with an open escape at the end
driver.error(driver.loc_, "Overflow escape in " + std::string(parser4_text));
YY_BREAK
case 96:
YY_RULE_SETUP
-#line 1052 "dhcp4_lexer.ll"
+#line 1050 "dhcp4_lexer.ll"
{ return isc::dhcp::Dhcp4Parser::make_LSQUARE_BRACKET(driver.loc_); }
YY_BREAK
case 97:
YY_RULE_SETUP
-#line 1053 "dhcp4_lexer.ll"
+#line 1051 "dhcp4_lexer.ll"
{ return isc::dhcp::Dhcp4Parser::make_RSQUARE_BRACKET(driver.loc_); }
YY_BREAK
case 98:
YY_RULE_SETUP
-#line 1054 "dhcp4_lexer.ll"
+#line 1052 "dhcp4_lexer.ll"
{ return isc::dhcp::Dhcp4Parser::make_LCURLY_BRACKET(driver.loc_); }
YY_BREAK
case 99:
YY_RULE_SETUP
-#line 1055 "dhcp4_lexer.ll"
+#line 1053 "dhcp4_lexer.ll"
{ return isc::dhcp::Dhcp4Parser::make_RCURLY_BRACKET(driver.loc_); }
YY_BREAK
case 100:
YY_RULE_SETUP
-#line 1056 "dhcp4_lexer.ll"
+#line 1054 "dhcp4_lexer.ll"
{ return isc::dhcp::Dhcp4Parser::make_COMMA(driver.loc_); }
YY_BREAK
case 101:
YY_RULE_SETUP
-#line 1057 "dhcp4_lexer.ll"
+#line 1055 "dhcp4_lexer.ll"
{ return isc::dhcp::Dhcp4Parser::make_COLON(driver.loc_); }
YY_BREAK
case 102:
YY_RULE_SETUP
-#line 1059 "dhcp4_lexer.ll"
+#line 1057 "dhcp4_lexer.ll"
{
// An integer was found.
std::string tmp(parser4_text);
YY_BREAK
case 103:
YY_RULE_SETUP
-#line 1077 "dhcp4_lexer.ll"
+#line 1075 "dhcp4_lexer.ll"
{
// A floating point was found.
std::string tmp(parser4_text);
YY_BREAK
case 104:
YY_RULE_SETUP
-#line 1090 "dhcp4_lexer.ll"
+#line 1088 "dhcp4_lexer.ll"
{
string tmp(parser4_text);
return isc::dhcp::Dhcp4Parser::make_BOOLEAN(tmp == "true", driver.loc_);
YY_BREAK
case 105:
YY_RULE_SETUP
-#line 1095 "dhcp4_lexer.ll"
+#line 1093 "dhcp4_lexer.ll"
{
return isc::dhcp::Dhcp4Parser::make_NULL_TYPE(driver.loc_);
}
YY_BREAK
case 106:
YY_RULE_SETUP
-#line 1099 "dhcp4_lexer.ll"
+#line 1097 "dhcp4_lexer.ll"
driver.error (driver.loc_, "JSON true reserved keyword is lower case only");
YY_BREAK
case 107:
YY_RULE_SETUP
-#line 1101 "dhcp4_lexer.ll"
+#line 1099 "dhcp4_lexer.ll"
driver.error (driver.loc_, "JSON false reserved keyword is lower case only");
YY_BREAK
case 108:
YY_RULE_SETUP
-#line 1103 "dhcp4_lexer.ll"
+#line 1101 "dhcp4_lexer.ll"
driver.error (driver.loc_, "JSON null reserved keyword is lower case only");
YY_BREAK
case 109:
YY_RULE_SETUP
-#line 1105 "dhcp4_lexer.ll"
+#line 1103 "dhcp4_lexer.ll"
driver.error (driver.loc_, "Invalid character: " + std::string(parser4_text));
YY_BREAK
case YY_STATE_EOF(INITIAL):
-#line 1107 "dhcp4_lexer.ll"
+#line 1105 "dhcp4_lexer.ll"
{
if (driver.states_.empty()) {
return isc::dhcp::Dhcp4Parser::make_END(driver.loc_);
YY_BREAK
case 110:
YY_RULE_SETUP
-#line 1130 "dhcp4_lexer.ll"
+#line 1128 "dhcp4_lexer.ll"
ECHO;
YY_BREAK
-#line 2897 "dhcp4_lexer.cc"
+#line 2895 "dhcp4_lexer.cc"
case YY_END_OF_BUFFER:
{
/* %ok-for-header */
-#line 1130 "dhcp4_lexer.ll"
+#line 1128 "dhcp4_lexer.ll"