Permalink
Browse files

throw Missing on repeat without while/until.

Signed-off-by: Moritz Lenz <mlenz@noris.net>
  • Loading branch information...
1 parent 358f486 commit 1e37817534b590ae0947519cd23445ee5b07ba78 @timo timo committed with moritz Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Grammar.pm
View
@@ -1058,7 +1058,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
[
| $<wu>=[while|until]\s <xblock>
| <pblock>
- [$<wu>=['while'|'until']\s || <.panic: '"repeat" is missing its "while" or "until"'>]
+ [$<wu>=['while'|'until']\s || <.missing('"while" or "until"')>]
<EXPR>
]
}

0 comments on commit 1e37817

Please sign in to comment.