On Mon, 21 Nov 2005, Arkadius Nowakowski wrote:

tag1: tag1_1 {}
        | tag1_1 tag1_2 {}
;

This makes TAG1_2 optional.

tag1_2: /*empty*/ {}
        | TAG1_2 {}
;

So does this.  Get rid of the empty production.

Joel


_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to