From 8ece207582b51af76b85706a88f5cca77d508fe6 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 18 Feb 2018 17:01:49 +0000 Subject: [PATCH] Regex update. --- tools/tidyHeaders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {