"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/asm.h" between
ragel-7.0.0.10.tar.gz and ragel-7.0.0.11.tar.gz

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

asm.h  (ragel-7.0.0.10):asm.h  (ragel-7.0.0.11)
/* /*
* Copyright 2014-2015 Adrian Thurston <thurston@colm.net> * Copyright 2014-2018 Adrian Thurston <thurston@colm.net>
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to * of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the * deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is * sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions: * furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included in al l * The above copyright notice and this permission notice shall be included in al l
* copies or substantial portions of the Software. * copies or substantial portions of the Software.
skipping to change at line 160 skipping to change at line 160
void GET_TOKEND( ostream &ret, GenInlineItem *item ); void GET_TOKEND( ostream &ret, GenInlineItem *item );
void STATIC_CONST_INT( const string &name, const string &val ); void STATIC_CONST_INT( const string &name, const string &val );
void STATE_IDS(); void STATE_IDS();
string ERROR_STATE(); string ERROR_STATE();
string FIRST_FINAL_STATE(); string FIRST_FINAL_STATE();
bool outLabelUsed; bool outLabelUsed;
bool testEofUsed; bool testEofUsed;
bool againLabelUsed; bool againLabelUsed;
bool useIndicies;
long nextLmSwitchLabel; long nextLmSwitchLabel;
bool stackCS; bool stackCS;
void genLineDirective( ostream &out ); void genLineDirective( ostream &out );
void NBREAK( ostream &ret, int targState, bool csForced ); void NBREAK( ostream &ret, int targState, bool csForced );
void NCALL( ostream &ret, int callDest, int targState, bool inFinish ); void NCALL( ostream &ret, int callDest, 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 NRET( ostream &ret, bool inFinish ); void NRET( ostream &ret, bool inFinish );
skipping to change at line 183 skipping to change at line 182
void HOST_EXPR( ostream &ret, GenInlineItem *item, void HOST_EXPR( ostream &ret, GenInlineItem *item,
int targState, bool inFinish, bool csForced ); int targState, bool inFinish, bool csForced );
void HOST_TEXT( ostream &ret, GenInlineItem *item, void HOST_TEXT( ostream &ret, GenInlineItem *item,
int targState, bool inFinish, bool csForced ); int targState, bool inFinish, bool csForced );
void GEN_STMT( ostream &ret, GenInlineItem *item, void GEN_STMT( ostream &ret, GenInlineItem *item,
int targState, bool inFinish, bool csForced ); int targState, bool inFinish, bool csForced );
void GEN_EXPR( ostream &ret, GenInlineItem *item, void GEN_EXPR( ostream &ret, GenInlineItem *item,
int targState, bool inFinish, bool csForced ); int targState, bool inFinish, bool csForced );
public: public:
/* Determine if we should use indicies. */
virtual void calcIndexSize() {}
virtual string NULL_ITEM(); virtual string NULL_ITEM();
virtual string POINTER(); virtual string POINTER();
virtual ostream &SWITCH_DEFAULT(); virtual ostream &SWITCH_DEFAULT();
virtual ostream &OPEN_ARRAY( string type, string name ); virtual ostream &OPEN_ARRAY( string type, string name );
virtual ostream &CLOSE_ARRAY(); virtual ostream &CLOSE_ARRAY();
virtual ostream &STATIC_VAR( string type, string name ); virtual ostream &STATIC_VAR( string type, string name );
virtual string ARR_OFF( string ptr, string offset ); virtual string ARR_OFF( string ptr, string offset );
virtual string CAST( string type ); virtual string CAST( string type );
virtual string UINT(); virtual string UINT();
 End of changes. 3 change blocks. 
4 lines changed or deleted 1 lines changed or added

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