|Allow keywords in any order [message #984412]
||Wed, 14 November 2012 12:26
| Aaron Digulla
Registered: July 2009
I need this feature in my grammar:|
ClassDefinition : ('opt1'|'opt2'|'opt3')*? name=ID ";" ;
where "*?" means "any of them in any order but each one only once".
How can I do something like that?
Background: I have some places where a rule has 5-10 options and I want to enable users to give them in any order.
Powered by FUDForum
. Page generated in 0.01903 seconds