Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix separator use with code block in quantifier
  • Loading branch information
FROGGS committed Jul 25, 2014
1 parent 3097e14 commit 83e13b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRegex/P6Regex/Actions.nqp
Expand Up @@ -87,7 +87,7 @@ class QRegex::P6Regex::Actions is HLL::Actions {
$qast := $ast;
}
if $<separator> {
unless $qast.rxtype eq 'quant' {
if $qast.rxtype ne 'quant' && $qast.rxtype ne 'dynquant' {
$/.CURSOR.panic("'" ~ $<separator>[0]<septype> ~
"' many only be used immediately following a quantifier")
}
Expand Down

0 comments on commit 83e13b6

Please sign in to comment.