diff options
Diffstat (limited to 'test/ragel.d/julia1.rl')
-rw-r--r-- | test/ragel.d/julia1.rl | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/ragel.d/julia1.rl b/test/ragel.d/julia1.rl deleted file mode 100644 index 4b349908..00000000 --- a/test/ragel.d/julia1.rl +++ /dev/null @@ -1,34 +0,0 @@ -// @LANG: julia - -%%{ - machine atoi; - - main := '-'? [0-9]+ '.' @{ - println( "match" ); - }; -}%% - -%% write data; - -function test( data_string::AbstractString ) - data = Vector{UInt8}( data_string ) - p = 0 - pe = length(data) - eof = length(data) - cs = 0 - - %% write init; - - %% write exec; -end - - -test( "-99." ) -test( "100." ) -test( "100x." ) -test( "1000." ) - -######## OUTPUT ####### -match -match -match |