}
}
+\"exclude-first-last-24\" {
+ switch(driver.ctx_) {
+ case isc::dhcp::Parser4Context::COMPATIBILITY:
+ return isc::dhcp::Dhcp4Parser::make_EXCLUDE_FIRST_LAST_24(driver.loc_);
+ default:
+ return isc::dhcp::Dhcp4Parser::make_STRING("exclude-first-last-24", driver.loc_);
+ }
+}
+
{JSONString} {
/* A string has been matched. It contains the actual string and single quotes.
COMPATIBILITY "compatibility"
LENIENT_OPTION_PARSING "lenient-option-parsing"
IGNORE_RAI_LINK_SEL "ignore-rai-link-selection"
+ EXCLUDE_FIRST_LAST_24 "exclude-first-last-24"
// Not real tokens, just a way to signal what the parser is expected to
// parse.
compatibility_param: lenient_option_parsing
| ignore-rai-link-selection
+ | exclude_first_last_24
| unknown_map_entry
;
ctx.stack_.back()->set("ignore-rai-link-selection", b);
}
+exclude_first_last_24: EXCLUDE_FIRST_LAST_24 COLON BOOLEAN {
+ ctx.unique("exclude-first-last-24", ctx.loc2pos(@1));
+ ElementPtr b(new BoolElement($3, ctx.loc2pos(@3)));
+ ctx.stack_.back()->set("exclude-first-last-24", b);
+};
+
%%
void