summaryrefslogtreecommitdiff
path: root/test/ragel.d/lmnfa1.rl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ragel.d/lmnfa1.rl')
-rw-r--r--test/ragel.d/lmnfa1.rl28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/ragel.d/lmnfa1.rl b/test/ragel.d/lmnfa1.rl
deleted file mode 100644
index d5ec87ec..00000000
--- a/test/ragel.d/lmnfa1.rl
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * @LANG: indep
- * @NEEDS_EOF: yes
- */
-
-ptr ts;
-ptr te;
-%%{
- machine lmnfa1;
-
- main := :nfa |*
- "hello" %when {false} => { print_str "hello --fail\n"; };
- "hello" => { print_str "hello\n"; };
- [a-z]+ %when {false} => { print_str "other --fail\n"; };
- [a-z]+ => { print_str "other\n"; };
- ' ' => { print_str "<space>\n"; };
- *|;
-}%%
-
-##### INPUT #####
-"hello hellos hello"
-##### OUTPUT #####
-hello
-<space>
-other
-<space>
-hello
-ACCEPT