Hi,
I found a small issue in the YANG 1.1 grammar - I know that the last
calls already passed, but I found it yesterday while implementing
if-feature parsing.

This is the definition from the rfc6020bis-14 grammar:

if-feature-factor   = not-keyword sep if-feature-factor /
                      "(" sep if-feature-expr sep ")" /
                      identifier-ref-arg

But I believe that it should be

if-feature-factor   = not-keyword sep if-feature-factor /
                      "(" optsep if-feature-expr optsep ")" /
                      identifier-ref-arg

because even example in section 7.20.2.1 skips the spaces between the
brackets and the expression inside:

if-feature "(not foo) or (bar and baz)";

Regards,
Radek

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to