projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0aefb2
)
fix C++ template/operator test
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 12 May 2015 15:38:55 +0000
(11:38 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 12 May 2015 15:38:55 +0000
(11:38 -0400)
tools/cstyle.py
patch
|
blob
|
history
diff --git
a/tools/cstyle.py
b/tools/cstyle.py
index d5d7391dffbac3da27caffedfc8e9c9c83e51cef..c6d5e7712137e1bf98882a89754ec14bcfb13b66 100755
(executable)
--- 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