Commit adcb7ca4 authored by Francis Dupont's avatar Francis Dupont

[5073a] Augmented syntax

parent 4109a401
...@@ -471,6 +471,7 @@ ControlCharacterFill [^"\\]|\\{JSONEscapeSequence} ...@@ -471,6 +471,7 @@ ControlCharacterFill [^"\\]|\\{JSONEscapeSequence}
\"option-def\" { \"option-def\" {
switch(driver.ctx_) { switch(driver.ctx_) {
case isc::dhcp::Parser4Context::DHCP4: case isc::dhcp::Parser4Context::DHCP4:
case isc::dhcp::Parser4Context::CLIENT_CLASSES:
return isc::dhcp::Dhcp4Parser::make_OPTION_DEF(driver.loc_); return isc::dhcp::Dhcp4Parser::make_OPTION_DEF(driver.loc_);
default: default:
return isc::dhcp::Dhcp4Parser::make_STRING("option-def", driver.loc_); return isc::dhcp::Dhcp4Parser::make_STRING("option-def", driver.loc_);
......
...@@ -1535,6 +1535,7 @@ not_empty_client_class_params: client_class_param ...@@ -1535,6 +1535,7 @@ not_empty_client_class_params: client_class_param
client_class_param: client_class_name client_class_param: client_class_name
| client_class_test | client_class_test
| option_def_list
| option_data_list | option_data_list
| next_server | next_server
| server_hostname | server_hostname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment