Skip to content

Commit 1203912

Browse files
committed
Remove hard-to-reach debugging lines
1 parent e31c208 commit 1203912

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/QRegex/P6Regex/Grammar.nqp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
101101
|| <?infixstopper>
102102
|| $$ <.panic: "Regex not terminated">
103103
|| (\W) { self.throw_unrecognized_metachar: ~$/[0] }
104-
|| (\w) { self.panic("missed one, boss: '"~$/[0]~"'") }
105-
|| {self.panic('Regex no term bra "'~$/~'", matched '~$<termseq>~'.')} #<.panic: "Regex not terminated">
104+
|| <.panic: "Regex not terminated">
106105
]
107106
}
108107

0 commit comments

Comments
 (0)