diff options
author | delroth <devnull@localhost> | 2008-04-29 22:51:31 +0200 |
---|---|---|
committer | delroth <devnull@localhost> | 2008-04-29 22:51:31 +0200 |
commit | 2b8545b9e6037c2637caaa159018da86c246d518 (patch) | |
tree | 9da87c004faa2816020f0de5315907e669e6c8e7 | |
parent | dfd2c1a414286d5c9c55eaaac73bda26f6a0c2b9 (diff) | |
download | pygments-2b8545b9e6037c2637caaa159018da86c246d518.tar.gz |
Fixed bug #324: Tcl lexer is highlighting parts of names as keywords
-rw-r--r-- | pygments/lexers/agile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index 36459f09..0c64e74b 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -1131,7 +1131,7 @@ class TclLexer(RegexLexer): r'\b(after|apply|array|break|catch|continue|else|elseif|error|' r'eval|expr|for|foreach|global|if|namespace|proc|rename|return|' r'set|switch|then|trace|unset|update|uplevel|upvar|variable|' - r'vwait|while)' + r'vwait|while)\b' ) builtin_cmds_re = ( @@ -1143,7 +1143,7 @@ class TclLexer(RegexLexer): r'mathop|memory|msgcat|open|package|pid|pkg::create|pkg_mkIndex|' r'platform|platform::shell|puts|pwd|re_syntax|read|refchan|' r'regexp|registry|regsub|scan|seek|socket|source|split|string|' - r'subst|tell|time|tm|unknown|unload)' + r'subst|tell|time|tm|unknown|unload)\b' ) name = 'Tcl' |