Update YANG lexer/parser to accept free-standing '+'
[yangtools.git] / yang / yang-parser-antlr / src / main / antlr4 / org / opendaylight / yangtools / yang / parser / antlr / YangStatementParser.g4
index 9f836e2e3210053ccbc39cda5eaccdcfcde9111d..2408d93a765a09dd54d297335d69ccffae476335 100644 (file)
@@ -14,4 +14,4 @@ options {
 statement : SEP* keyword SEP* (argument)? SEP* (SEMICOLON | LEFT_BRACE SEP* (statement)* SEP* RIGHT_BRACE SEP*) SEP*;
 keyword : (IDENTIFIER COLON)? IDENTIFIER;
 
-argument : STRING (SEP* PLUS SEP* STRING)* | IDENTIFIER;
+argument : STRING (SEP* PLUS SEP* STRING)* | PLUS | IDENTIFIER;