Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

throw Missing on repeat without while/until.

Signed-off-by: Moritz Lenz <mlenz@noris.net>
  • Loading branch information...
commit 1e37817534b590ae0947519cd23445ee5b07ba78 1 parent 358f486
timo authored December 18, 2012 Moritz Lenz committed December 18, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/Perl6/Grammar.pm
2  src/Perl6/Grammar.pm
@@ -1058,7 +1058,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
1058 1058
         [
1059 1059
         | $<wu>=[while|until]\s <xblock>
1060 1060
         | <pblock>
1061  
-          [$<wu>=['while'|'until']\s || <.panic: '"repeat" is missing its "while" or "until"'>]
  1061
+          [$<wu>=['while'|'until']\s || <.missing('"while" or "until"')>]
1062 1062
           <EXPR>
1063 1063
         ]
1064 1064
     }

0 notes on commit 1e37817

Please sign in to comment.
Something went wrong with that request. Please try again.