Skip to content

Commit 26808f1

Browse files
committed
body orlist
1 parent a1be0b4 commit 26808f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compile/parser/lmntal.cup

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,17 +435,17 @@ Rule ::=
435435
{: RESULT = new SrcRule(null, head, body, lineno.intValue()); :}
436436
| RuleName:name RULENAMESEP ProcessList:head RULE:lineno ProcessList:body
437437
{: RESULT = new SrcRule(name, head, body, lineno.intValue()); :}
438-
| ProcessList:head RULE:lineno OrList:guard GUARD ProcessList:body
438+
| ProcessList:head RULE:lineno OrList:guard GUARD OrList:body
439439
{: RESULT = new SrcRule(null, head, guard, body, lineno.intValue()); :}
440-
| RuleName:name RULENAMESEP ProcessList:head RULE:lineno OrList:guard GUARD ProcessList:body
440+
| RuleName:name RULENAMESEP ProcessList:head RULE:lineno OrList:guard GUARD OrList:body
441441
{: RESULT = new SrcRule(name, head, guard, body, lineno.intValue()); :}
442442
| ProcessList:head BACKSLASH ProcessList:head2 RULE:lineno ProcessList:body
443443
{: RESULT = new SrcRule(null, head, head2, null, body, lineno.intValue()); :}
444444
| RuleName:name RULENAMESEP ProcessList:head BACKSLASH ProcessList:head2 RULE:lineno ProcessList:body
445445
{: RESULT = new SrcRule(name, head, head2, null, body, lineno.intValue()); :}
446-
| ProcessList:head BACKSLASH ProcessList:head2 RULE:lineno OrList:guard GUARD ProcessList:body
446+
| ProcessList:head BACKSLASH ProcessList:head2 RULE:lineno OrList:guard GUARD OrList:body
447447
{: RESULT = new SrcRule(null, head, head2, guard, body, lineno.intValue()); :}
448-
| RuleName:name RULENAMESEP ProcessList:head BACKSLASH ProcessList:head2 RULE:lineno OrList:guard GUARD ProcessList:body
448+
| RuleName:name RULENAMESEP ProcessList:head BACKSLASH ProcessList:head2 RULE:lineno OrList:guard GUARD OrList:body
449449
{: RESULT = new SrcRule(name, head, head2, guard, body, lineno.intValue()); :}
450450
;
451451

0 commit comments

Comments
 (0)