Changeset 206 in dev for trunk/abdev/BasicCompiler64/Compile_Statement.cpp
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/Compile_Statement.cpp
r198 r206 1 #include "stdafx.h" 2 1 3 #include <jenga/include/smoothie/LexicalAnalysis.h> 2 4 … … 9 11 void OpcodeOthers(const char *Command){ 10 12 int i,i2; 11 UserProc *pUserProc;12 13 13 14 char leftTerm[8192]; … … 59 60 ////////////////////////////// 60 61 61 pUserProc=GetSubHash(Command);62 const UserProc *pUserProc=GetSubHash(Command); 62 63 63 64 //GetSubHash内でエラー提示が行われた場合 … … 737 738 738 739 if(type1.IsObject()){ 739 std::vector< UserProc *> subs;740 std::vector<const UserProc *> subs; 740 741 type1.GetClass().GetMethods().Enum( CALC_EQUAL, subs ); 741 742 if( subs.size() == 0 ){ … … 747 748 748 749 //オーバーロードを解決 749 UserProc *pUserProc; 750 pUserProc=OverloadSolution("==",subs, params, NULL); 750 const UserProc *pUserProc = OverloadSolution("==",subs, params, NULL); 751 751 752 752 delete params[0]; … … 892 892 893 893 //call _System_GetEip 894 extern UserProc *pSub_System_GetEip;894 extern const UserProc *pSub_System_GetEip; 895 895 op_call(pSub_System_GetEip); 896 896 … … 953 953 //戻り値をセット 954 954 if(Parameter[0]){ 955 UserProc &proc = UserProc::CompilingUserProc();955 const UserProc &proc = UserProc::CompilingUserProc(); 956 956 957 957 const char *temp = "_System_ReturnValue";
Note:
See TracChangeset
for help on using the changeset viewer.