Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixed a mistake in Absyn.EQ/ALG_FAILURE/EQUALITY, they should
contain EquationItem and AlgorithmItem as built by the parser - got rid of function removal on loading as we can do it based on build time: Ceval, ClassLoader, Interactive, Inst, Static - beautifying dumping of MetaModelica code and handle also the equality and failure equations. - remove the .sig and .srz files on clean - fixed a bug with modifications merging (see Modification6.mo) - System__hash improved plus now considering the entire string + RefinedSimpleCircuitValid.mo changes due to different hashing. - more homogeneous function documentation strings here and there - small changes to sendData, OMNotebook and ext(ernal plotter). git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3766 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
20 changed files
with
3,245 additions
and
3,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
#ifndef INC_AntlrNotebookLexer_hpp_ | ||
#define INC_AntlrNotebookLexer_hpp_ | ||
|
||
#include <antlr/config.hpp> | ||
/* $ANTLR 2.7.7 (2006-11-01): "lexer.g" -> "AntlrNotebookLexer.hpp"$ */ | ||
#include <antlr/CommonToken.hpp> | ||
#include <antlr/InputBuffer.hpp> | ||
#include <antlr/BitSet.hpp> | ||
#include "notebookgrammarTokenTypes.hpp" | ||
#include <antlr/CharScanner.hpp> | ||
class CUSTOM_API AntlrNotebookLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public notebookgrammarTokenTypes | ||
{ | ||
private: | ||
void initLiterals(); | ||
public: | ||
bool getCaseSensitiveLiterals() const | ||
{ | ||
return true; | ||
} | ||
public: | ||
AntlrNotebookLexer(ANTLR_USE_NAMESPACE(std)istream& in); | ||
AntlrNotebookLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib); | ||
AntlrNotebookLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state); | ||
ANTLR_USE_NAMESPACE(antlr)RefToken nextToken(); | ||
public: void mRBRACK(bool _createToken); | ||
public: void mLBRACK(bool _createToken); | ||
public: void mRCURLY(bool _createToken); | ||
public: void mLCURLY(bool _createToken); | ||
public: void mCOMMA(bool _createToken); | ||
public: void mTHICK(bool _createToken); | ||
public: void mCOMMENTSTART(bool _createToken); | ||
public: void mCOMMENTEND(bool _createToken); | ||
public: void mNUMBER(bool _createToken); | ||
protected: void mDIGIT(bool _createToken); | ||
protected: void mEXP(bool _createToken); | ||
public: void mID(bool _createToken); | ||
public: void mQSTRING(bool _createToken); | ||
public: void mWHITESPACE(bool _createToken); | ||
public: void mCOMMENT(bool _createToken); | ||
private: | ||
|
||
static const unsigned long _tokenSet_0_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0; | ||
static const unsigned long _tokenSet_1_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1; | ||
static const unsigned long _tokenSet_2_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2; | ||
static const unsigned long _tokenSet_3_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3; | ||
static const unsigned long _tokenSet_4_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; | ||
static const unsigned long _tokenSet_5_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_5; | ||
static const unsigned long _tokenSet_6_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6; | ||
}; | ||
|
||
#endif /*INC_AntlrNotebookLexer_hpp_*/ | ||
#ifndef INC_AntlrNotebookLexer_hpp_ | ||
#define INC_AntlrNotebookLexer_hpp_ | ||
|
||
#include <antlr/config.hpp> | ||
/* $ANTLR 2.7.7 (2006-11-01): "lexer.g" -> "AntlrNotebookLexer.hpp"$ */ | ||
#include <antlr/CommonToken.hpp> | ||
#include <antlr/InputBuffer.hpp> | ||
#include <antlr/BitSet.hpp> | ||
#include "notebookgrammarTokenTypes.hpp" | ||
#include <antlr/CharScanner.hpp> | ||
class CUSTOM_API AntlrNotebookLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public notebookgrammarTokenTypes | ||
{ | ||
private: | ||
void initLiterals(); | ||
public: | ||
bool getCaseSensitiveLiterals() const | ||
{ | ||
return true; | ||
} | ||
public: | ||
AntlrNotebookLexer(ANTLR_USE_NAMESPACE(std)istream& in); | ||
AntlrNotebookLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib); | ||
AntlrNotebookLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state); | ||
ANTLR_USE_NAMESPACE(antlr)RefToken nextToken(); | ||
public: void mRBRACK(bool _createToken); | ||
public: void mLBRACK(bool _createToken); | ||
public: void mRCURLY(bool _createToken); | ||
public: void mLCURLY(bool _createToken); | ||
public: void mCOMMA(bool _createToken); | ||
public: void mTHICK(bool _createToken); | ||
public: void mCOMMENTSTART(bool _createToken); | ||
public: void mCOMMENTEND(bool _createToken); | ||
public: void mNUMBER(bool _createToken); | ||
protected: void mDIGIT(bool _createToken); | ||
protected: void mEXP(bool _createToken); | ||
public: void mID(bool _createToken); | ||
public: void mQSTRING(bool _createToken); | ||
public: void mWHITESPACE(bool _createToken); | ||
public: void mCOMMENT(bool _createToken); | ||
private: | ||
static const unsigned long _tokenSet_0_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0; | ||
static const unsigned long _tokenSet_1_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1; | ||
static const unsigned long _tokenSet_2_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2; | ||
static const unsigned long _tokenSet_3_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3; | ||
static const unsigned long _tokenSet_4_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; | ||
static const unsigned long _tokenSet_5_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_5; | ||
static const unsigned long _tokenSet_6_data_[]; | ||
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6; | ||
}; | ||
|
||
#endif /*INC_AntlrNotebookLexer_hpp_*/ |
Oops, something went wrong.