diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 18:43:09 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 19:02:31 +0100 |
commit | ca9f746af500be98f7c65b7f1bd0f50ad936a8b6 (patch) | |
tree | 789465df66ea327e642c3e80d690ed7e4a38b1a6 /waflib/extras/cpplint.py | |
parent | a7860f7e495583f536480a7cce2b6e0c55926f3a (diff) | |
parent | b2ca9626b290e8ab5bfa6269dfc7afe64a012ce1 (diff) | |
download | lv2-ca9f746af500be98f7c65b7f1bd0f50ad936a8b6.tar.xz |
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/extras/cpplint.py')
-rw-r--r-- | waflib/extras/cpplint.py | 6 |
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} ' |