"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ragel/rbxgoto.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).

rbxgoto.cpp  (ragel-6.9):rbxgoto.cpp  (ragel-6.10)
skipping to change at line 660 skipping to change at line 660
"\nend\n"; "\nend\n";
} }
void RbxGotoCodeGen::BREAK( ostream &ret, int targState ) void RbxGotoCodeGen::BREAK( ostream &ret, int targState )
{ {
outLabelUsed = true; outLabelUsed = true;
out << out <<
" begin\n" " begin\n"
" " << P() << " += 1\n" " " << P() << " += 1\n"
" " <<; rbxGoto(ret, "_out") << "\n" " "; rbxGoto(ret, "_out") << "\n"
" end\n"; " end\n";
} }
void RbxGotoCodeGen::writeData() void RbxGotoCodeGen::writeData()
{ {
if ( redFsm->anyActions() ) { if ( redFsm->anyActions() ) {
OPEN_ARRAY( ARRAY_TYPE(redFsm->maxActArrItem), A() ); OPEN_ARRAY( ARRAY_TYPE(redFsm->maxActArrItem), A() );
ACTIONS_ARRAY(); ACTIONS_ARRAY();
CLOSE_ARRAY() << CLOSE_ARRAY() <<
"\n"; "\n";
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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