"Fossies" - the Fresh Open Source Software Archive  

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

mlcodegen.cpp  (ragel-6.9):mlcodegen.cpp  (ragel-6.10)
skipping to change at line 565 skipping to change at line 565
STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << TOP_ SEP (); STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << TOP_ SEP ();
if ( !noFinal ) if ( !noFinal )
STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE () << TOP_SEP(); STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE () << TOP_SEP();
if ( !noError ) if ( !noError )
STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << TOP_SEP (); STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << TOP_SEP ();
out << "\n"; out << "\n";
if ( entryPointNames.length() > 0 ) { if ( !noEntry && entryPointNames.length() > 0 ) {
for ( EntryNameVect::Iter en = entryPointNames; en.lte(); en++ ) { for ( EntryNameVect::Iter en = entryPointNames; en.lte(); en++ ) {
STATIC_VAR( "int", DATA_PREFIX() + "en_" + *en ) << STATIC_VAR( "int", DATA_PREFIX() + "en_" + *en ) <<
" = " << entryPointIds[en.pos()] << TOP_S EP(); " = " << entryPointIds[en.pos()] << TOP_S EP();
} }
out << "\n"; out << "\n";
} }
} }
void OCamlCodeGen::writeStart() void OCamlCodeGen::writeStart()
{ {
 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