[Mono-list] [PATCH] reduce shift/reduce conflicts
Miguel de Icaza
miguel@ximian.com
13 Jul 2001 18:48:33 -0400
> enum_body
> - : OPEN_BRACE opt_enum_member_declarations CLOSE_BRACE
> - {
> - $$ = $2;
> - }
> - | OPEN_BRACE enum_member_declarations COMMA CLOSE_BRACE
> + : OPEN_BRACE opt_enum_member_declarations opt_comma CLOSE_BRACE
> {
Are you sure that this reduces the number of shift/reduce conflicts?
I remember putting that there because it actually reduced the conflict
(ie, using opt_comma)
I have applied some of your patches now.
Miguel.