Skip to content

Commit

Permalink
Update a couple of places in the grammar that need || insted of |.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 1, 2012
1 parent 6365270 commit f335c7f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Perl6/Grammar.pm
Expand Up @@ -573,10 +573,10 @@ grammar Perl6::Grammar is HLL::Grammar {
}

token eat_terminator {
| ';'
| <?MARKED('endstmt')>
| <?terminator>
| $
|| ';'
|| <?MARKED('endstmt')>
|| <?terminator>
|| $
}

token xblock($*IMPLICIT = 0) {
Expand Down Expand Up @@ -1602,8 +1602,8 @@ grammar Perl6::Grammar is HLL::Grammar {
<trait>*
{ $*IN_DECL := ''; }
[
| <onlystar>
| <blockoid>
|| <onlystar>
|| <blockoid>
]
}

Expand Down Expand Up @@ -1631,8 +1631,8 @@ grammar Perl6::Grammar is HLL::Grammar {
]
{ $*IN_DECL := ''; }
[
| <onlystar>
| <blockoid>
|| <onlystar>
|| <blockoid>
]
] || <.malformed('method')>
}
Expand Down Expand Up @@ -1661,8 +1661,8 @@ grammar Perl6::Grammar is HLL::Grammar {
<trait>*
{ $*IN_DECL := ''; }
[
| <onlystar>
| <blockoid>
|| <onlystar>
|| <blockoid>
]
}

Expand Down

0 comments on commit f335c7f

Please sign in to comment.