[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
order in productions
I don't wish to restrict the order that a user may write in.. i.e
are both okay.
To do this I have written
model = kw_model lbrace model_parts* rbrace
kw_variable ident |
... but this approach makes it difficult to disallow something like: 'only
one type is allowed'. Does anyone know a better way? My guess is that what
I am trying to do is context-sensitive and cannot be done any easilier.
Thanks in advance,