"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "examples/gotocallret.cpp" between
ragel-6.9.tar.gz and ragel-6.10.tar.gz

About: Ragel compiles executable finite state machines from regular languages (C, C++, Obj-C, C#, D, Java, Go and Ruby).

gotocallret.cpp  (ragel-6.9):gotocallret.cpp  (ragel-6.10)
skipping to change at line 136 skipping to change at line 136
goto _test_eof1; goto _test_eof1;
case 1: case 1:
#line 134 "gotocallret.cpp" #line 134 "gotocallret.cpp"
if ( (*p) == 32 ) if ( (*p) == 32 )
goto tr1; goto tr1;
goto tr0; goto tr0;
tr1: tr1:
#line 42 "gotocallret.rl" #line 42 "gotocallret.rl"
{ {
if ( comm >= 'a' ) if ( comm >= 'a' )
{stack[top++] = 2; goto st5;} {stack[top++] = 2;goto st5;}
else else
{stack[top++] = 2; goto st6;} {stack[top++] = 2;goto st6;}
} }
goto st2; goto st2;
st2: st2:
if ( ++p == pe ) if ( ++p == pe )
goto _test_eof2; goto _test_eof2;
case 2: case 2:
#line 151 "gotocallret.cpp" #line 151 "gotocallret.cpp"
if ( (*p) == 10 ) if ( (*p) == 10 )
goto tr2; goto tr2;
goto tr0; goto tr0;
skipping to change at line 236 skipping to change at line 236
_test_eof9: cs = 9; goto _test_eof; _test_eof9: cs = 9; goto _test_eof;
_test_eof6: cs = 6; goto _test_eof; _test_eof6: cs = 6; goto _test_eof;
_test_eof10: cs = 10; goto _test_eof; _test_eof10: cs = 10; goto _test_eof;
_test_eof: {} _test_eof: {}
if ( p == eof ) if ( p == eof )
{ {
switch ( cs ) { switch ( cs ) {
case 5: case 5:
#line 38 "gotocallret.rl" #line 38 "gotocallret.rl"
{p--;{cs = stack[--top];goto _again;}} {p--;{cs = stack[--top]; if ( p == pe )
goto _test_eof;
goto _again;}}
break; break;
case 6: case 6:
#line 39 "gotocallret.rl" #line 39 "gotocallret.rl"
{p--;{cs = stack[--top];goto _again;}} {p--;{cs = stack[--top]; if ( p == pe )
goto _test_eof;
goto _again;}}
break; break;
case 1: case 1:
case 2: case 2:
#line 56 "gotocallret.rl" #line 56 "gotocallret.rl"
{p--;{goto st3;}} {p--;{ if ( p == pe )
goto _test_eof3;
goto st3;}}
break; break;
#line 253 "gotocallret.cpp" #line 259 "gotocallret.cpp"
} }
} }
_out: {} _out: {}
} }
#line 74 "gotocallret.rl" #line 74 "gotocallret.rl"
if ( cs == GotoCallRet_error ) if ( cs == GotoCallRet_error )
return -1; return -1;
if ( cs >= GotoCallRet_first_final ) if ( cs >= GotoCallRet_first_final )
 End of changes. 6 change blocks. 
6 lines changed or deleted 12 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS