Conditional grammar structures

0 votes
asked Jul 13 in Grammars by lapplandscohan (140 points)
I'm writing a grammar for MPLS files.

One of the elements is StreamType (1 byte numeric), and if StreamType is 1 it is followed by by the A structure only. If StreamType is 2 it is followed by the B, C, and A structures in that order, and if StreamType is 3 it is followed by the B and A structures in that order.

How do I accomplish this?

I don't have the pro-version, so no scripting as I understand it unfortunately.

Please log in or register to answer this question.

...