diff options
Diffstat (limited to 'test/ragel.d/cond11.rl')
-rw-r--r-- | test/ragel.d/cond11.rl | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/ragel.d/cond11.rl b/test/ragel.d/cond11.rl deleted file mode 100644 index be63e63c..00000000 --- a/test/ragel.d/cond11.rl +++ /dev/null @@ -1,40 +0,0 @@ -/* - * @LANG: indep - * @NEEDS_EOF: yes - */ - -int q; - -%%{ - machine foo; - - action match { print_str "match\n"; } - - action ini_0 { q = 0; } - action inc_0 { q = q + 1; } - action min_0 { q >= 5 } - action max_0 { q < 5 } - - action t { true } - - main := - ( :condstar( ('a'), ini_0, inc_0, min_0, max_0 ): ) - ( '' %when t | '' %when !t ) %when { 1==1 } %when { 2==2 } %when { 3==3 } %match; - -}%% - -##### INPUT ##### -"" -"a" -"aaaa" -"aaaaa" -"aaaaaa" -"aaaaaaa" -##### OUTPUT ##### -FAIL -FAIL -FAIL -match -ACCEPT -FAIL -FAIL |