summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackbird <devnull@localhost>2006-11-18 21:22:08 +0100
committerblackbird <devnull@localhost>2006-11-18 21:22:08 +0100
commit45945f71cb7d66d2c4ec0a764a0732498655ad0a (patch)
tree1bea4bfb87e310a1ab4d2bc8fc6095fcf91e67d8
parentb9e3b75424f7d5dc2e66d28da6c7f6a176089532 (diff)
downloadpygments-45945f71cb7d66d2c4ec0a764a0732498655ad0a.tar.gz
[svn] fixed small bugs
-rw-r--r--pygments/lexers/compiled.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index b8b9d5ab..7a80ddcb 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -543,11 +543,10 @@ class DelphiLexer(Lexer):
elif in_function_block and \
lowercase_name in self.FUNCTION_MODIFIERS:
token = Keyword.Pseudo
- next_token_is_function
# if we are in a property highlight some more
# modifiers
elif in_property_block and \
- lowercase_name in ('read, write'):
+ lowercase_name in ('read', 'write'):
token = Keyword.Pseudo
next_token_is_function = True
# if the last iteration set next_token_is_function