diff --git a/tools/tidyHeaders.sh b/tools/tidyHeaders.sh index 3c8ec69..f9e2552 100755 --- a/tools/tidyHeaders.sh +++ b/tools/tidyHeaders.sh @@ -89,7 +89,7 @@ function cleanHeader($headerFile) $externs[] = $extern; - if (!preg_match_all("/\b${extern}[\\.\\-\\);]/", $body)) + if (!preg_match_all("/\b${extern}([\\.\\-\\);]| =)/", $body)) { if (!$hasChanges) {