diff --git a/mmss/config.y b/mmss/config.y index 63bfcb8..90b2a9e 100644 --- a/mmss/config.y +++ b/mmss/config.y @@ -97,7 +97,7 @@ config: config statement | ; -statement: TOK_NETWORK network '{' network_config '}' +statement: TOK_NETWORK network network_tail | TOK_PROTOCOL protocol ';' | TOK_NODE node '{' node_config '}' ; @@ -108,6 +108,10 @@ network: TOK_STRING { } ; +network_tail: + '{' network_config '}' + | ';' + network_config: network_config network_statement | ;