Hi,

> Could you write a little bit about the underlying cause of this just
> so I can understand better?

it is basically mimicking JavaScript object access syntax where labels after a
dot must be valid identifiers.

In JS, an expression `obj.foo-bar.baz` would be interpreted as `obj.foo` minus
`bar.baz`. The jsonfilter grammar simply followed this rule even if its
current expression syntax scope would allow for tolerating such a ambiguities.

~ Jo

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to