- Patch #167 (!) by killes: made the code style script work with ++ and -- operators.

(The oldest issue of the year award goes to killes.)
4.7.x
Dries Buytaert 2005-12-28 12:04:14 +00:00
parent 753f11d8c9
commit 18a5374781
1 changed files with 1 additions and 1 deletions

View File

@ -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/) {