summaryrefslogtreecommitdiff
path: root/test/ragel.d/curs1.rl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ragel.d/curs1.rl')
-rw-r--r--test/ragel.d/curs1.rl34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/ragel.d/curs1.rl b/test/ragel.d/curs1.rl
deleted file mode 100644
index 71c5c43c..00000000
--- a/test/ragel.d/curs1.rl
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * @LANG: indep
- */
-
-int return_to;
-
-%%{
- machine curs1;
-
- unused := 'unused';
-
- one := 'one' @{
- print_str "one\n";
- fnext *return_to;
- };
-
- two := 'two' @{
- print_str "two\n";
- fnext *return_to;
- };
-
- main :=
- '1' @{ return_to = fcurs; fnext one; }
- | '2' @{ return_to = fcurs; fnext two; }
- | '\n';
-}%%
-
-##### INPUT #####
-"1one2two1one\n"
-##### OUTPUT #####
-one
-two
-one
-ACCEPT