Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Dec 3, 2023
1 parent e9aef42 commit 75ba152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skylighting-core/src/Regex/KDE/Compile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ pRegexCharClass = do
(\d x -> x >= c && x <= d) <$> (char '-' *> getC) <|>
return (== c)
let getQELiteral = do
A.string "\\Q"
void $ A.string "\\Q"
cs <- manyTill anyChar (A.string "\\E")
return $! \c -> any (== c) cs
brack <- option [] $ [(==']')] <$ char ']'
Expand Down

0 comments on commit 75ba152

Please sign in to comment.