From 45e4d8e91c7ad29af745a82182f173bd096fc612 Mon Sep 17 00:00:00 2001 From: Tim Hatch Date: Sat, 6 Oct 2012 18:04:46 -0700 Subject: Example files for new lexers (rpf and sp) --- tests/examplefiles/example.rpf | 4 ++++ tests/examplefiles/hello.sp | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/examplefiles/example.rpf create mode 100644 tests/examplefiles/hello.sp (limited to 'tests') 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 + +// Single line comment +/* Multi line + comment */ + +public OnPluginStart() { + PrintToServer("Hello."); +} -- cgit v1.2.1