- 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
parent
753f11d8c9
commit
18a5374781
|
@ -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/) {
|
||||
|
|
Loading…
Reference in New Issue