Skip to content

Commit

Permalink
fix error report with negative quantifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Feb 28, 2013
1 parent 63b55a0 commit 82b7e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRegex/P6Regex/Grammar.nqp
Expand Up @@ -176,7 +176,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
|| <.panic: "Only integers or '*' allowed as range quantifier endpoint">
]
]?
|| \-\d+ <.panic: "Negative numbers are not allowed as range quantifier endpoint">
|| \-\d+ <.panic: "Negative numbers are not allowed as quantifiers">
]
}

Expand Down

0 comments on commit 82b7e17

Please sign in to comment.