This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
# | |
# File: ghc-mod.sh | |
# Description: Wrapper script allowing syntastic's ghc-mod checker to work with | |
# .ghc files. | |
# Maintainer: LCD 47 <lcd047 at gmail dot com> | |
# License: This program is free software. It comes without any warranty, | |
# to the extent permitted by applicable law. You can redistribute | |
# it and/or modify it under the terms of the Do What The Fuck You | |
# Want To Public License, Version 2, as published by Sam Hocevar. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/R/lint.R b/R/lint.R | |
index 5f0524f..521965f 100644 | |
--- a/R/lint.R | |
+++ b/R/lint.R | |
@@ -86,37 +86,37 @@ sep = "+++") | |
## OK, tested with codetools 0.2-8 | |
findParamChangedByAssign <- function (txt, p, i) | |
return(finding(txt, p, i, | |
- rx = "^.*: parameter .(.*). changed by assignment.*\\\n", | |
+ rx = "^.*: parameter '(.*)' changed by assignment.*\\\n", |