help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stupid format question


From: Urdaneta, Alfonso E (N-Summitt Technologies)
Subject: stupid format question
Date: Thu, 27 Feb 2003 17:07:34 -0500

I have an IEEE language definition that looks like so:

noun-field:
    { noun | 
      noun-name } [ "USING" label-identifier ];

now my first thought is that in bisonland this would look like so (I have
omitted dependencies)

noun_field:
    { noun | noun_name }
    | noun_field USING_TOKEN label_identifier
    ;

but then this will match

  noun USING label USING label USING label....

which I don't want.

I couldn't find anything in the docs that said anything about how to limit
sequences.

Can anyone point me in the right direction ?

Thanks,

Alfonso.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]