aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/extras/cpplint.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:04 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commita065b13b94e2f08eddbec9a64d97c653618e7207 (patch)
treef3727071015b4c8034c756d466d6f1d37d0b3683 /waflib/extras/cpplint.py
parentd4a49fff9bbc610705b6292a069ae8fa72bb6e03 (diff)
parent06b859ac10d84580a21a912c75c37c73b9d65d2f (diff)
downloadmda.lv2-a065b13b94e2f08eddbec9a64d97c653618e7207.tar.gz
mda.lv2-a065b13b94e2f08eddbec9a64d97c653618e7207.tar.bz2
mda.lv2-a065b13b94e2f08eddbec9a64d97c653618e7207.zip
Update autowaf and adapt to new APIHEADmaster
Diffstat (limited to 'waflib/extras/cpplint.py')
-rw-r--r--waflib/extras/cpplint.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/waflib/extras/cpplint.py b/waflib/extras/cpplint.py
index e3302e5..8cdd6dd 100644
--- a/waflib/extras/cpplint.py
+++ b/waflib/extras/cpplint.py
@@ -43,12 +43,12 @@ from waflib import Errors, Task, TaskGen, Logs, Options, Node, Utils
critical_errors = 0
CPPLINT_FORMAT = '[CPPLINT] %(filename)s:\nline %(linenum)s, severity %(confidence)s, category: %(category)s\n%(message)s\n'
-RE_EMACS = re.compile('(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]')
+RE_EMACS = re.compile(r'(?P<filename>.*):(?P<linenum>\d+): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]')
CPPLINT_RE = {
'waf': RE_EMACS,
'emacs': RE_EMACS,
- 'vs7': re.compile('(?P<filename>.*)\((?P<linenum>\d+)\): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]'),
- 'eclipse': re.compile('(?P<filename>.*):(?P<linenum>\d+): warning: (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]'),
+ 'vs7': re.compile(r'(?P<filename>.*)\((?P<linenum>\d+)\): (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]'),
+ 'eclipse': re.compile(r'(?P<filename>.*):(?P<linenum>\d+): warning: (?P<message>.*) \[(?P<category>.*)\] \[(?P<confidence>\d+)\]'),
}
CPPLINT_STR = ('${CPPLINT} '
'--verbose=${CPPLINT_LEVEL} '