"Fossies" - the Fresh Open Source Software Archive  

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

gocodegen.cpp  (ragel-6.9):gocodegen.cpp  (ragel-6.10)
skipping to change at line 628 skipping to change at line 628
CONST( "int", START() ) << " = " << START_STATE_ID() << endl; CONST( "int", START() ) << " = " << START_STATE_ID() << endl;
if ( !noFinal ) if ( !noFinal )
CONST( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE() << endl; CONST( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE() << endl;
if ( !noError ) if ( !noError )
CONST( "int", ERROR() ) << " = " << ERROR_STATE() << endl; CONST( "int", ERROR() ) << " = " << ERROR_STATE() << endl;
out << endl; out << endl;
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++ ) {
CONST( "int", DATA_PREFIX() + "en_" + *en ) << CONST( "int", DATA_PREFIX() + "en_" + *en ) <<
" = " << entryPointIds[en.pos()] << endl; " = " << entryPointIds[en.pos()] << endl;
} }
out << endl; out << endl;
} }
} }
void GoCodeGen::writeStart() void GoCodeGen::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