"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/fsmap.cc" between
ragel-7.0.0.11.tar.gz and ragel-7.0.0.12.tar.gz

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

fsmap.cc  (ragel-7.0.0.11):fsmap.cc  (ragel-7.0.0.12)
skipping to change at line 1119 skipping to change at line 1119
if ( cmpRes != 0 ) if ( cmpRes != 0 )
return cmpRes; return cmpRes;
/* Test out error action tables. */ /* Test out error action tables. */
cmpRes = CmpErrActionTable::compare( state1->errActionTable, cmpRes = CmpErrActionTable::compare( state1->errActionTable,
state2->errActionTable ); state2->errActionTable );
if ( cmpRes != 0 ) if ( cmpRes != 0 )
return cmpRes; return cmpRes;
/* Test eof action tables. */ /* Test eof action tables. */
return CmpActionTable::compare( state1->eofActionTable, cmpRes = CmpActionTable::compare( state1->eofActionTable,
state2->eofActionTable ); state2->eofActionTable );
if ( cmpRes != 0 )
return cmpRes;
return CmpTable<LongestMatchPart*>::compare(
state1->lmNfaParts, state2->lmNfaParts );
} }
/* Invoked when a state looses its final state status and the leaving /* Invoked when a state looses its final state status and the leaving
* transition embedding data should be deleted. */ * transition embedding data should be deleted. */
void FsmAp::clearOutData( StateAp *state ) void FsmAp::clearOutData( StateAp *state )
{ {
/* Kill the out actions and priorities. */ /* Kill the out actions and priorities. */
state->outCondSpace = 0; state->outCondSpace = 0;
state->outCondKeys.empty(); state->outCondKeys.empty();
state->outActionTable.empty(); state->outActionTable.empty();
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)