diff options
Diffstat (limited to 'test/ragel.d/scan2.rl')
-rw-r--r-- | test/ragel.d/scan2.rl | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/ragel.d/scan2.rl b/test/ragel.d/scan2.rl deleted file mode 100644 index 167b2c8c..00000000 --- a/test/ragel.d/scan2.rl +++ /dev/null @@ -1,34 +0,0 @@ -/* - * @LANG: indep - * @NEEDS_EOF: yes - */ -ptr ts; -ptr te; -int act; -int token; - -%%{ - machine scanner; - - # Warning: changing the patterns or the input string will affect the - # coverage of the scanner action types. - main := |* - 'a' => { - print_str "pat1\n"; - }; - - [ab]+ . 'c' => { - print_str "pat2\n"; - }; - - any => { - print_str "any\n"; - }; - *|; -}%% - -##### INPUT ##### -"a" -##### OUTPUT ##### -pat1 -ACCEPT |