summaryrefslogtreecommitdiff
path: root/pygments/lexers/c_cpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/c_cpp.py')
-rw-r--r--pygments/lexers/c_cpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/c_cpp.py b/pygments/lexers/c_cpp.py
index ac9cc7b8..86927b0e 100644
--- a/pygments/lexers/c_cpp.py
+++ b/pygments/lexers/c_cpp.py
@@ -110,8 +110,8 @@ class CFamilyLexer(RegexLexer):
include('whitespace'),
include('statements'),
(';', Punctuation),
- ('{', Punctuation, '#push'),
- ('}', Punctuation, '#pop'),
+ (r'\{', Punctuation, '#push'),
+ (r'\}', Punctuation, '#pop'),
],
'string': [
(r'"', String, '#pop'),