summaryrefslogtreecommitdiff
path: root/pygments/lexers/c_cpp.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-14 17:10:00 +0100
committerGeorg Brandl <georg@python.org>2016-02-14 17:10:00 +0100
commitfff7caebc1befe71ab088a5d245fbb7708cfc0f2 (patch)
tree346052a8c49dd99ab7dc5abbdc603cc3717308c9 /pygments/lexers/c_cpp.py
parent2882c34a141f4f36ded54d1473c6d4f73684ffc7 (diff)
downloadpygments-fff7caebc1befe71ab088a5d245fbb7708cfc0f2.tar.gz
Fix most complaints from regexlint.
Diffstat (limited to 'pygments/lexers/c_cpp.py')
-rw-r--r--pygments/lexers/c_cpp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/c_cpp.py b/pygments/lexers/c_cpp.py
index 2f77158b..632871ba 100644
--- a/pygments/lexers/c_cpp.py
+++ b/pygments/lexers/c_cpp.py
@@ -124,7 +124,8 @@ class CFamilyLexer(RegexLexer):
(r'\\', String), # stray backslash
],
'macro': [
- (r'(include)(' + _ws1 + ')([^\n]+)', bygroups(Comment.Preproc, Text, Comment.PreprocFile)),
+ (r'(include)(' + _ws1 + r')([^\n]+)',
+ bygroups(Comment.Preproc, Text, Comment.PreprocFile)),
(r'[^/\n]+', Comment.Preproc),
(r'/[*](.|\n)*?[*]/', Comment.Multiline),
(r'//.*?\n', Comment.Single, '#pop'),