The "curstate" argument to the variable statement has been changed to "cs".
[external/ragel.git] / test / export3.rl
index 39603d6..c0dde02 100644 (file)
@@ -1,6 +1,5 @@
 #
 # @LANG: ruby
-# @ALLOW_GENFLAGS: -T0
 #
 
 %%{
@@ -16,7 +15,7 @@
                c3 . '.'* '\n' @{ puts "c3"; }
        )*;
                        
-       main := any*;
+       other := any*;
 }%%
 
 %% write exports;
 def run_machine( data )
        p = 0;
        pe = data.length
-       cs = 0
-       cs = 0
+       cs = test_en_commands
        val = 0;
        neg = false;
 
-       cs = test_en_commands;
+       %% write init nocs;
        %% write exec;
        %% write eof;
        if  cs >= test_first_final