summaryrefslogtreecommitdiff
path: root/test/ragel.d/scan3.rl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ragel.d/scan3.rl')
-rw-r--r--test/ragel.d/scan3.rl33
1 files changed, 0 insertions, 33 deletions
diff --git a/test/ragel.d/scan3.rl b/test/ragel.d/scan3.rl
deleted file mode 100644
index 80ab4815..00000000
--- a/test/ragel.d/scan3.rl
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * @LANG: indep
- * @NEEDS_EOF: yes
- */
-
-ptr ts;
-ptr te;
-int act;
-int token;
-
-%%{
- machine scanner;
-
- # Warning: changing the patterns or the input string will affect the
- # coverage of the scanner action types.
- main := |*
- 'a' => {
- print_str "pat1\n";
- };
- 'b' => {
- print_str "pat2\n";
- };
- [ab] any* => {
- print_str "pat3\n";
- };
- *|;
-}%%
-
-##### INPUT #####
-"ab89"
-##### OUTPUT #####
-pat3
-ACCEPT