summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code-style.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code-style.pl b/scripts/code-style.pl
index 2ae2e1a13..796ed6c12 100644
--- a/scripts/code-style.pl
+++ b/scripts/code-style.pl
@@ -134,7 +134,7 @@ while (<>) {
$msg = "missing space after ','";
}
# spaces before and after, only foreach may use $foo=>bar
- elsif (/[^ =|-|\+](\+|\-)[^ =>|-|\+]/ && $program && !/foreach/) {
+ elsif (/[^ =|\-|\+](\+|\-)[^ =>|\-|\+]/ && $program && !/foreach/) {
$msg = "'$1' -> ' $1 '";
}
elsif (/[^ =](\*|==|\.=|=>|=|\|\|)[^ =>]/ && $program && !/foreach/) {