summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.ma
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 16:32:39 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 16:32:39 +0100
commit077618ac2b6e71689ced7ca0f41ebf8ac0de4dcc (patch)
treebc28d01dbf807dfd807c48d3a79bf386a0467951 /tests/examplefiles/example.ma
parentbca6dbc6f061c3fe289a6a201363f72247ca949b (diff)
parentd5db9bdc770a09cf41976fe39a9f982bd79636af (diff)
downloadpygments-077618ac2b6e71689ced7ca0f41ebf8ac0de4dcc.tar.gz
Merged in adereth/pygments-main (pull request #245)
MathematicaLexer
Diffstat (limited to 'tests/examplefiles/example.ma')
-rw-r--r--tests/examplefiles/example.ma8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examplefiles/example.ma b/tests/examplefiles/example.ma
new file mode 100644
index 00000000..a8119ea5
--- /dev/null
+++ b/tests/examplefiles/example.ma
@@ -0,0 +1,8 @@
+1 + 1 (* This is a comment *)
+Global`
+SomeNamespace`Foo
+f[x_, y__, 3, z___] := tsneirsnteintie "fosrt" neisnrteiasrn
+E + 3
+Plus[1,Times[2,3]]
+Map[#1 + #2&, SomePairList]
+Plus[1.,-1,-1.,-1.0,] \ No newline at end of file