summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.monkey
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 /tests/examplefiles/example.monkey
parentd05900c5b736f41ee1aa8b88c6bc4286f4899005 (diff)
downloadpygments-0bf214af2c0ff6f8fe2dced934231cd243064dd3.tar.gz
Fix operator highlighting in Monkey lexer.
Diffstat (limited to 'tests/examplefiles/example.monkey')
-rw-r--r--tests/examplefiles/example.monkey10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/examplefiles/example.monkey b/tests/examplefiles/example.monkey
index c0567ed4..facd3a73 100644
--- a/tests/examplefiles/example.monkey
+++ b/tests/examplefiles/example.monkey
@@ -141,4 +141,12 @@ DoOtherStuff()
#SOMETHING = True
#Print SOMETHING
#If SOMETHING
-#End \ No newline at end of file
+#End
+
+' operators
+Global a = 32
+Global b = 32 ~ 0
+b ~= 16
+b |= 16
+b &= 16
+Global c = a | b