Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't panic, just be sorry (on bare say etc.)
This allows the new bogus term message to show when appropriate.
  • Loading branch information
TimToady committed Feb 24, 2015
1 parent f84e536 commit 546000b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -3248,7 +3248,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
elsif $trap == 2 { # probably misused P6ism
$<longname>.CURSOR.worry("The '$name' listop may not be called without arguments (please use () or whitespace to clarify)");
}
$<longname>.CURSOR.panic("No valid term seen where one is required");
$<longname>.CURSOR.sorry("No valid term seen where one is required");
}
}
}
Expand Down

0 comments on commit 546000b

Please sign in to comment.