diff options
Diffstat (limited to 'contrib/checkSpace.pl')
-rwxr-xr-x | contrib/checkSpace.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/checkSpace.pl b/contrib/checkSpace.pl index fb0c9861bf..37f079c52b 100755 --- a/contrib/checkSpace.pl +++ b/contrib/checkSpace.pl @@ -72,8 +72,8 @@ for $fn (@ARGV) { # print " //:$fn:$.\n"; s!//.*!!; } - ## Warn about braces preceded by non-space. - if (/([^\s])\{/) { + ## Warn about unquoted braces preceded by non-space. + if (/([^\s'])\{/) { print " $1\{:$fn:$.\n"; } ## Warn about multiple internal spaces. |