diff options
author | Adrian Thurston <thurston@colm.net> | 2020-03-08 23:29:57 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-03-08 23:53:25 +0200 |
commit | 78e7949ca590b273c2c152a0abe0d51e590a52fd (patch) | |
tree | c253c852aec77af8a04c24d921d8657ff29c4101 /test/ragel.d/erract2.rl | |
parent | 5718c319424a21b64e1b50dbb6aae644715b9e85 (diff) | |
download | colm-78e7949ca590b273c2c152a0abe0d51e590a52fd.tar.gz |
remove the ragel tests, export runtests for use by ragel
Diffstat (limited to 'test/ragel.d/erract2.rl')
-rw-r--r-- | test/ragel.d/erract2.rl | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/test/ragel.d/erract2.rl b/test/ragel.d/erract2.rl deleted file mode 100644 index f6007151..00000000 --- a/test/ragel.d/erract2.rl +++ /dev/null @@ -1,90 +0,0 @@ -/* - * @LANG: indep - * @NEEDS_EOF: yes - * - * Test error actions. - */ - -%%{ - machine erract; - - action err_start { print_str "err_start\n"; } - action err_all { print_str "err_all\n"; } - action err_middle { print_str "err_middle\n"; } - action err_out { print_str "err_out\n"; } - - action eof_start { print_str "eof_start\n"; } - action eof_all { print_str "eof_all\n"; } - action eof_middle { print_str "eof_middle\n"; } - action eof_out { print_str "eof_out\n"; } - - main := ( 'hello' - >err err_start $err err_all <>err err_middle %err err_out - >eof eof_start $eof eof_all <>eof eof_middle %eof eof_out - ) '\n'; -}%% - -##### INPUT ##### -"" -"h" -"x" -"he" -"hx" -"hel" -"hex" -"hell" -"helx" -"hello" -"hellx" -"hello\n" -"hellox" -##### OUTPUT ##### -err_start -eof_start -err_all -eof_all -FAIL -err_all -err_middle -eof_all -eof_middle -FAIL -err_start -err_all -FAIL -err_all -err_middle -eof_all -eof_middle -FAIL -err_all -err_middle -FAIL -err_all -err_middle -eof_all -eof_middle -FAIL -err_all -err_middle -FAIL -err_all -err_middle -eof_all -eof_middle -FAIL -err_all -err_middle -FAIL -err_all -err_out -eof_all -eof_out -FAIL -err_all -err_middle -FAIL -ACCEPT -err_all -err_out -FAIL |