diff options
Diffstat (limited to 'test/ragel.d/ncall1.rl')
-rw-r--r-- | test/ragel.d/ncall1.rl | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test/ragel.d/ncall1.rl b/test/ragel.d/ncall1.rl deleted file mode 100644 index 9268ad31..00000000 --- a/test/ragel.d/ncall1.rl +++ /dev/null @@ -1,38 +0,0 @@ -/* - * @LANG: indep - */ - -int top; -int stack[32]; - -int target; - -%%{ - machine ncall1; - - unused := 'unused'; - - one := 'one' @{ - print_str "one\n"; - fnret; - }; - - two := 'two' @{ - print_str "two\n"; - fnret; - }; - - main := ( - '1' @{ target = fentry(one); fncall *target; } - | '2' @{ target = fentry(two); fncall *target; } - | '\n' - )*; -}%% - -##### INPUT ##### -"1one2two1one\n" -##### OUTPUT ##### -one -two -one -ACCEPT |