Line directives need to use the fileName stored in the InputLoc stuctures from
[external/ragel.git] / test / strings2.rl
index 6307a2b..edad63b 100644 (file)
@@ -13,7 +13,7 @@
 
 %%{
        machine strs;
-       variable curstate fsm->cs;
+       variable cs fsm->cs;
 
        main := 
                "/lib/ld-linux.so.2\n" |
@@ -1319,8 +1319,6 @@ void test( char *buf )
        %% write init;
        %% write exec;
 
-       %% write eof;
-
        if ( fsm->cs >= strs_first_final )
                printf("ACCEPT\n");
        else