diff options
Diffstat (limited to 'pygments/lexers/objective.py')
-rw-r--r-- | pygments/lexers/objective.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/objective.py b/pygments/lexers/objective.py index df564cf1..a2a3c7f5 100644 --- a/pygments/lexers/objective.py +++ b/pygments/lexers/objective.py @@ -112,8 +112,8 @@ def objective(baselexer): include('whitespace'), include('statements'), (';', Punctuation), - ('{', Punctuation, '#push'), - ('}', Punctuation, '#pop'), + (r'\{', Punctuation, '#push'), + (r'\}', Punctuation, '#pop'), ], 'root': [ # methods @@ -135,7 +135,7 @@ def objective(baselexer): bygroups(using(this), Text, Name.Variable)), (r'[a-zA-Z$_][\w$]*:', Name.Function), (';', Punctuation, '#pop'), - ('{', Punctuation, 'function'), + (r'\{', Punctuation, 'function'), ('', Text, '#pop'), ], 'literal_number': [ |