summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2012-11-06 06:59:44 -0800
committerTim Hatch <tim@timhatch.com>2012-11-06 06:59:44 -0800
commit0bf214af2c0ff6f8fe2dced934231cd243064dd3 (patch)
tree7bde9619f241f3c5d30f0fdc720b53f9d8b9742f /pygments
parentd05900c5b736f41ee1aa8b88c6bc4286f4899005 (diff)
downloadpygments-0bf214af2c0ff6f8fe2dced934231cd243064dd3.tar.gz
Fix operator highlighting in Monkey lexer.
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/compiled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index e7982052..2ea74439 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -3129,7 +3129,7 @@ class MonkeyLexer(RegexLexer):
# Array
(r'[\[\]]', Punctuation),
# Other
- (r'<=|>=|<>|[*]=|/=|[+]=|-=|&=|~=|\[|\]=|[-&*/^+=<>]', Operator),
+ (r'<=|>=|<>|\*=|/=|\+=|-=|&=|~=|\|=|[-&*/^+=<>|~]', Operator),
(r'(?i)(?:Not|Mod|Shl|Shr|And|Or)', Operator.Word),
(r'[\(\){}!#,.:]', Punctuation),
# catch the rest