mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
fix C++ template/operator test
This commit is contained in:
parent
d0aefb28b9
commit
f716595fa5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue