From 78e7949ca590b273c2c152a0abe0d51e590a52fd Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 8 Mar 2020 23:29:57 +0200 Subject: remove the ragel tests, export runtests for use by ragel --- test/ragel.d/curs1.rl | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 test/ragel.d/curs1.rl (limited to 'test/ragel.d/curs1.rl') 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 -- cgit v1.2.1