summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--tests/examplefiles/test.pan13
2 files changed, 14 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 9447bd0f..27e0b8f6 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -139,5 +139,6 @@ Other contributors, listed alphabetically, are:
* Diego Zamboni -- CFengine3 lexer
* Enrique Zamudio -- Ceylon lexer
* Alex Zimin -- Nemerle lexer
+* James Adams -- Pan lexer
Many thanks for all contributions!
diff --git a/tests/examplefiles/test.pan b/tests/examplefiles/test.pan
new file mode 100644
index 00000000..bb1b63e2
--- /dev/null
+++ b/tests/examplefiles/test.pan
@@ -0,0 +1,13 @@
+object template pantest;
+
+# Very simple pan test file
+
+"/x1" = 1;
+
+variable TEST = 2;
+
+"/x2" = TEST;
+
+"/x3" = 1 + 2;
+
+variable e = error("Test error message");