diff options
author | blackbird <devnull@localhost> | 2006-11-18 21:22:08 +0100 |
---|---|---|
committer | blackbird <devnull@localhost> | 2006-11-18 21:22:08 +0100 |
commit | 45945f71cb7d66d2c4ec0a764a0732498655ad0a (patch) | |
tree | 1bea4bfb87e310a1ab4d2bc8fc6095fcf91e67d8 | |
parent | b9e3b75424f7d5dc2e66d28da6c7f6a176089532 (diff) | |
download | pygments-45945f71cb7d66d2c4ec0a764a0732498655ad0a.tar.gz |
[svn] fixed small bugs
-rw-r--r-- | pygments/lexers/compiled.py | 3 |
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 |