Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix haskell-module-re to exclude following paren #848

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion flycheck.el
Expand Up @@ -6656,7 +6656,7 @@ See URL `http://handlebarsjs.com/'."
(defconst flycheck-haskell-module-re
(rx line-start (zero-or-more (or "\n" (any space)))
"module" (one-or-more (or "\n" (any space)))
(group (one-or-more (not (any space "\n")))))
(group (one-or-more (not (any space "(" "\n")))))
"Regular expression for a Haskell module name.")

(flycheck-def-args-var flycheck-ghc-args (haskell-stack-ghc haskell-ghc)
Expand Down