|
@@ -2448,6 +2448,13 @@ sub process {
|
|
"space prohibited between function name and open parenthesis '('\n" . $herecurr);
|
|
"space prohibited between function name and open parenthesis '('\n" . $herecurr);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+# check for whitespace before a non-naked semicolon
|
|
|
|
+ if ($line =~ /^\+.*\S\s+;/) {
|
|
|
|
+ CHK("SPACING",
|
|
|
|
+ "space prohibited before semicolon\n" . $herecurr);
|
|
|
|
+ }
|
|
|
|
+
|
|
# Check operator spacing.
|
|
# Check operator spacing.
|
|
if (!($line=~/\#\s*include/)) {
|
|
if (!($line=~/\#\s*include/)) {
|
|
my $ops = qr{
|
|
my $ops = qr{
|