summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2012-10-06 18:04:46 -0700
committerTim Hatch <tim@timhatch.com>2012-10-06 18:04:46 -0700
commit45e4d8e91c7ad29af745a82182f173bd096fc612 (patch)
tree19a454a8bac3f2491fab9f4db4d932602333587c /tests
parentacffe8266de71a1f5ac89d986763ef57f3f4cb9d (diff)
downloadpygments-45e4d8e91c7ad29af745a82182f173bd096fc612.tar.gz
Example files for new lexers (rpf and sp)
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/example.rpf4
-rw-r--r--tests/examplefiles/hello.sp9
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/examplefiles/example.rpf b/tests/examplefiles/example.rpf
new file mode 100644
index 00000000..162b5ed3
--- /dev/null
+++ b/tests/examplefiles/example.rpf
@@ -0,0 +1,4 @@
+declare xyz true
+declare s "some string"
+i = 2
+f = 0.2
diff --git a/tests/examplefiles/hello.sp b/tests/examplefiles/hello.sp
new file mode 100644
index 00000000..7102d273
--- /dev/null
+++ b/tests/examplefiles/hello.sp
@@ -0,0 +1,9 @@
+#include <sourcemod>
+
+// Single line comment
+/* Multi line
+ comment */
+
+public OnPluginStart() {
+ PrintToServer("Hello.");
+}