|
@@ -1435,11 +1435,11 @@ sub process {
|
|
ERROR("\"(foo $1 )\" should be \"(foo $1)\"\n" .
|
|
ERROR("\"(foo $1 )\" should be \"(foo $1)\"\n" .
|
|
$herecurr);
|
|
$herecurr);
|
|
|
|
|
|
- } elsif ($line =~ m{$NonptrType(\*+)(?:\s+(?:$Attribute|$Sparse))?\s+[A-Za-z\d_]+}) {
|
|
|
|
|
|
+ } elsif ($line =~ m{\b$NonptrType(\*+)(?:\s+(?:$Attribute|$Sparse))?\s+[A-Za-z\d_]+}) {
|
|
ERROR("\"foo$1 bar\" should be \"foo $1bar\"\n" .
|
|
ERROR("\"foo$1 bar\" should be \"foo $1bar\"\n" .
|
|
$herecurr);
|
|
$herecurr);
|
|
|
|
|
|
- } elsif ($line =~ m{$NonptrType\s+(\*+)(?!\s+(?:$Attribute|$Sparse))\s+[A-Za-z\d_]+}) {
|
|
|
|
|
|
+ } elsif ($line =~ m{\b$NonptrType\s+(\*+)(?!\s+(?:$Attribute|$Sparse))\s+[A-Za-z\d_]+}) {
|
|
ERROR("\"foo $1 bar\" should be \"foo $1bar\"\n" .
|
|
ERROR("\"foo $1 bar\" should be \"foo $1bar\"\n" .
|
|
$herecurr);
|
|
$herecurr);
|
|
}
|
|
}
|