diff options
-rwxr-xr-x | tools/cstyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cstyle.py b/tools/cstyle.py index d5d7391dff..c6d5e77121 100755 --- a/tools/cstyle.py +++ b/tools/cstyle.py @@ -211,7 +211,7 @@ class CStyleChecker: if re.search ("[a-zA-Z0-9_][<>!=^/&\|]{1,2}[a-zA-Z0-9_]", line): # ignore #include <foo.h> and C++ templates with indirection/pointer/reference operators - if not re.search (".*#include.*[a-zA-Z0-9]/[a-zA-Z]", line) and not re.search ("[a-zA-Z0-9_]>[&\*]", line): + if not re.search (".*#include.*[a-zA-Z0-9]/[a-zA-Z]", line) and not re.search ("[a-zA-Z0-9_]>[&\*]*\s", line): self.error ("missing space around operator") self.last_line_indent = indent |