Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:perl6/nqp
  • Loading branch information
diakopter committed Nov 20, 2011
2 parents af28c73 + 1b061e8 commit 6ad13cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/QRegex/P6Regex/Actions.nqp
Expand Up @@ -431,6 +431,8 @@ class QRegex::P6Regex::Actions is HLL::Actions {
elsif $_[1] {
my $ord0 := nqp::ord($_[0]);
my $ord1 := nqp::ord($_[1][0]);
$/.CURSOR.panic("Illegal reversed character range in regex: " ~ ~$_)
if $ord0 > $ord1;
$str := nqp::concat($str, nqp::chr($ord0++)) while $ord0 <= $ord1;
}
else { $str := $str ~ $_[0]; }
Expand Down

0 comments on commit 6ad13cc

Please sign in to comment.