"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tables.h" 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.

tables.h  (ragel-7.0.0.11):tables.h  (ragel-7.0.0.12)
skipping to change at line 48 skipping to change at line 48
klen( "_klen" ), klen( "_klen" ),
ckeys( "_ckeys" ), ckeys( "_ckeys" ),
cekeys( "_cekeys" ), cekeys( "_cekeys" ),
trans( "_trans" ), trans( "_trans" ),
cond( "_cond" ), cond( "_cond" ),
keys( "_keys" ), keys( "_keys" ),
acts( "_acts" ), acts( "_acts" ),
nacts( "_nacts" ), nacts( "_nacts" ),
inds( "_inds" ), inds( "_inds" ),
cont( "_cont" ),
nfa_repeat( "_nfa_repeat" ),
nfa_test( "_nfa_test" ),
ps( "_ps" ),
nbreak( "_nbreak" ),
have( "__have" ),
ic( "_ic" ),
_out("_out"),
_pop("_pop"),
_test_eof( "_test_eof" ),
_resume( "_resume" ),
_match_cond( "_match_cond" ),
_again( "_again" ),
_match( "_match" ),
_eof_goto( "_eof_goto" ),
actions( "actions", *this ), actions( "actions", *this ),
transKeys( "trans_keys", *this ), transKeys( "trans_keys", *this ),
charClass( "char_class", *this ), charClass( "char_class", *this ),
flatIndexOffset( "index_offsets", *this ), flatIndexOffset( "index_offsets", *this ),
indicies( "indicies", *this ), indicies( "indicies", *this ),
indexDefaults( "index_defaults", *this ), indexDefaults( "index_defaults", *this ),
transCondSpaces( "trans_cond_spaces", *this ), transCondSpaces( "trans_cond_spaces", *this ),
transOffsets( "trans_offsets", *this ), transOffsets( "trans_offsets", *this ),
condTargs( "cond_targs", *this ), condTargs( "cond_targs", *this ),
condActions( "cond_actions", *this ), condActions( "cond_actions", *this ),
skipping to change at line 88 skipping to change at line 105
Variable pa; Variable pa;
Variable klen; Variable klen;
Variable ckeys; Variable ckeys;
Variable cekeys; Variable cekeys;
Variable trans; Variable trans;
Variable cond; Variable cond;
Variable keys; Variable keys;
Variable acts; Variable acts;
Variable nacts; Variable nacts;
Variable inds; Variable inds;
Variable cont;
Variable nfa_repeat;
Variable nfa_test;
Variable ps;
Variable nbreak;
Variable have;
Variable ic;
GotoLabel _out;
GotoLabel _pop;
GotoLabel _test_eof;
GotoLabel _resume;
GotoLabel _match_cond;
GotoLabel _again;
GotoLabel _match;
GotoLabel _eof_goto;
TableArray actions; TableArray actions;
TableArray transKeys; TableArray transKeys;
TableArray charClass; TableArray charClass;
TableArray flatIndexOffset; TableArray flatIndexOffset;
TableArray indicies; TableArray indicies;
TableArray indexDefaults; TableArray indexDefaults;
TableArray transCondSpaces; TableArray transCondSpaces;
TableArray transOffsets; TableArray transOffsets;
TableArray condTargs; TableArray condTargs;
skipping to change at line 118 skipping to change at line 151
TableArray keyOffsets; TableArray keyOffsets;
TableArray singleLens; TableArray singleLens;
TableArray rangeLens; TableArray rangeLens;
TableArray indexOffsets; TableArray indexOffsets;
TableArray transCondSpacesWi; TableArray transCondSpacesWi;
TableArray transOffsetsWi; TableArray transOffsetsWi;
TableArray transLengthsWi; TableArray transLengthsWi;
TableArray transLengths; TableArray transLengths;
TableArray condKeys; TableArray condKeys;
int errCondOffset;
virtual void TO_STATE_ACTION( RedStateAp *state ) = 0; virtual void TO_STATE_ACTION( RedStateAp *state ) = 0;
virtual void FROM_STATE_ACTION( RedStateAp *state ) = 0; virtual void FROM_STATE_ACTION( RedStateAp *state ) = 0;
virtual void EOF_ACTION( RedStateAp *state ) = 0; virtual void EOF_ACTION( RedStateAp *state ) = 0;
virtual void COND_ACTION( RedCondPair *cond ) = 0; virtual void COND_ACTION( RedCondPair *cond ) = 0;
virtual void NFA_PUSH_ACTION( RedNfaTarg *targ ) = 0; virtual void NFA_PUSH_ACTION( RedNfaTarg *targ ) = 0;
virtual void NFA_POP_TEST( RedNfaTarg *targ ) = 0; virtual void NFA_POP_TEST( RedNfaTarg *targ ) = 0;
virtual void NFA_FROM_STATE_ACTION_EXEC() = 0; virtual void NFA_FROM_STATE_ACTION_EXEC() = 0;
virtual void FROM_STATE_ACTIONS() = 0; virtual void FROM_STATE_ACTIONS() = 0;
skipping to change at line 149 skipping to change at line 184
struct TabGoto struct TabGoto
: :
public virtual Tables public virtual Tables
{ {
TabGoto( const CodeGenArgs &args ) TabGoto( const CodeGenArgs &args )
: :
Tables( args ) Tables( args )
{} {}
void CONTROL_JUMP( ostream &ret, bool inFinish );
void GOTO( ostream &ret, int gotoDest, bool inFinish ); void GOTO( ostream &ret, int gotoDest, bool inFinish );
void GOTO_EXPR( ostream &ret, GenInlineItem *ilItem, bool inFinish ); void GOTO_EXPR( ostream &ret, GenInlineItem *ilItem, bool inFinish );
void CALL( ostream &ret, int callDest, int targState, bool inFinish ); void CALL( ostream &ret, int callDest, int targState, bool inFinish );
void NCALL( ostream &ret, int callDest, int targState, bool inFinish ); void NCALL( ostream &ret, int callDest, int targState, bool inFinish );
void CALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish ); void CALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish );
void NCALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish ); void NCALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish );
void RET( ostream &ret, bool inFinish ); void RET( ostream &ret, bool inFinish );
void NRET( ostream &ret, bool inFinish ); void NRET( ostream &ret, bool inFinish );
void BREAK( ostream &ret, int targState, bool csForced ); void BREAK( ostream &ret, int targState, bool csForced );
void NBREAK( ostream &ret, int targState, bool csForced ); void NBREAK( ostream &ret, int targState, bool csForced );
void NFA_POP(); void NFA_POP() {}
void writeExec(); void writeExec();
}; };
struct TabBreak
:
public virtual Tables
{
TabBreak( const CodeGenArgs &args )
:
Tables( args ),
loopLabels( args.loopLabels )
{}
void CONTROL_JUMP( ostream &ret, bool inFinish );
void GOTO( ostream &ret, int gotoDest, bool inFinish );
void GOTO_EXPR( ostream &ret, GenInlineItem *ilItem, bool inFinish );
void CALL( ostream &ret, int callDest, int targState, bool inFinish );
void NCALL( ostream &ret, int callDest, int targState, bool inFinish );
void CALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool
inFinish );
void NCALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool
inFinish );
void RET( ostream &ret, bool inFinish );
void NRET( ostream &ret, bool inFinish );
void BREAK( ostream &ret, int targState, bool csForced );
void NBREAK( ostream &ret, int targState, bool csForced );
void NFA_POP() {}
void writeExec();
bool loopLabels;
std::string BREAK( GotoLabel &label );
std::string CONTINUE( GotoLabel &label );
std::string BREAK_LABEL( GotoLabel &label );
};
struct TabVar struct TabVar
: :
public virtual Tables public virtual Tables
{ {
TabVar( const CodeGenArgs &args ) TabVar( const CodeGenArgs &args )
: :
Tables( args ) Tables( args )
{} {}
void GOTO( ostream &ret, int gotoDest, bool inFinish ); void GOTO( ostream &ret, int gotoDest, bool inFinish );
void GOTO_EXPR( ostream &ret, GenInlineItem *ilItem, bool inFinish ); void GOTO_EXPR( ostream &ret, GenInlineItem *ilItem, bool inFinish );
void CALL( ostream &ret, int callDest, int targState, bool inFinish ); void CALL( ostream &ret, int callDest, int targState, bool inFinish );
void NCALL( ostream &ret, int callDest, int targState, bool inFinish ); void NCALL( ostream &ret, int callDest, int targState, bool inFinish );
void CALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish ); void CALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish );
void NCALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish ); void NCALL_EXPR( ostream &ret, GenInlineItem *ilItem, int targState, bool inFinish );
void RET( ostream &ret, bool inFinish ); void RET( ostream &ret, bool inFinish );
void NRET( ostream &ret, bool inFinish ); void NRET( ostream &ret, bool inFinish );
void BREAK( ostream &ret, int targState, bool csForced ); void BREAK( ostream &ret, int targState, bool csForced );
void NBREAK( ostream &ret, int targState, bool csForced ); void NBREAK( ostream &ret, int targState, bool csForced );
void NFA_POP(); void NFA_POP() {}
std::string BREAK( GotoLabel &label );
std::string CONTINUE( GotoLabel &label );
std::string BREAK_LABEL( GotoLabel &label );
void writeExec(); void writeExec();
}; };
#endif #endif
 End of changes. 7 change blocks. 
2 lines changed or deleted 80 lines changed or added

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