Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
panic to get file/line info for RT #86906
  • Loading branch information
perlpilot committed Aug 5, 2014
1 parent cf544ab commit 3852449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Grammar.nqp
Expand Up @@ -3957,7 +3957,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
# runs us into fun with terminators.
my @parts := nqp::split(' ', $opname);
if +@parts != 2 {
nqp::die("Unable to find starter and stopper from '$opname'");
self.panic("Unable to identify both starter and stopper from '$opname'\nPerhaps you forgot to separate them with whitespace?");
}
my role Postcircumfix[$meth_name, $starter, $stopper] {
token ::($meth_name) {
Expand All @@ -3973,7 +3973,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
# Find opener and closer and parse an EXPR between them.
my @parts := nqp::split(' ', $opname);
if +@parts != 2 {
nqp::die("Unable to find starter and stopper from '$opname'");
self.panic("Unable to identify both starter and stopper from '$opname'\nPerhaps you forgot to separate them with whitespace?");
}
my role Circumfix[$meth_name, $starter, $stopper] {
token ::($meth_name) {
Expand Down

0 comments on commit 3852449

Please sign in to comment.