Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
change error reporting in <charspec>
Browse files Browse the repository at this point in the history
This makes no difference in nqp itself, but in rakudo the old way caused a
"Method 'paniuc' not found for invocant of class 'Regex;Match'
  • Loading branch information
moritz committed Feb 11, 2011
1 parent 96e4b67 commit 14741af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLL/Grammar.pm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ grammar HLL::Grammar;
| '[' <charnames> ']'
| \d+ [ _ \d+]*
| <[ ?..Z ]>
| <.panic: 'Unrecognized \\c character'>
| { $/.CURSOR.panic('Unrecognized \\c character') }
]
}

0 comments on commit 14741af

Please sign in to comment.