diff options
Diffstat (limited to 'pygments/lexers/objective.py')
-rw-r--r-- | pygments/lexers/objective.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pygments/lexers/objective.py b/pygments/lexers/objective.py index 9287fae0..70f6819f 100644 --- a/pygments/lexers/objective.py +++ b/pygments/lexers/objective.py @@ -11,7 +11,8 @@ import re -from pygments.lexer import include, bygroups, using, this, words, inherit +from pygments.lexer import include, bygroups, using, this, words, inherit, \ + default from pygments.token import Text, Keyword, Name, String, Operator, \ Number, Punctuation, Literal @@ -136,7 +137,7 @@ def objective(baselexer): (r'[a-zA-Z$_][\w$]*:', Name.Function), (';', Punctuation, '#pop'), (r'\{', Punctuation, 'function'), - ('', Text, '#pop'), + default('#pop'), ], 'literal_number': [ (r'\(', Punctuation, 'literal_number_inner'), |