"Fossies" - the Fresh Open Source Software Archive  

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

rubycodegen.cpp  (ragel-6.9):rubycodegen.cpp  (ragel-6.10)
skipping to change at line 424 skipping to change at line 424
STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << ";\n "; STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << ";\n ";
if ( !noFinal ) if ( !noFinal )
STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE () << ";\n"; STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE () << ";\n";
if ( !noError ) if ( !noError )
STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << ";\n"; STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << ";\n";
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()] << ";\n" ; " = " << entryPointIds[en.pos()] << ";\n" ;
} }
out << "\n"; out << "\n";
} }
} }
std::ostream &RubyCodeGen::START_ARRAY_LINE() std::ostream &RubyCodeGen::START_ARRAY_LINE()
{ {
 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