Changeset 206 in dev for trunk/abdev/BasicCompiler32/Compile_Statement.cpp
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Statement.cpp
r183 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内でエラー提示が行われた場合 … … 1079 1080 1080 1081 if(type1.IsObject()){ 1081 std::vector< UserProc *> subs;1082 std::vector<const UserProc *> subs; 1082 1083 type1.GetClass().GetMethods().Enum( CALC_EQUAL, subs ); 1083 1084 if( subs.size() == 0 ){ … … 1089 1090 1090 1091 //オーバーロードを解決 1091 UserProc *pUserProc; 1092 pUserProc=OverloadSolution("==",subs, params, NULL); 1092 const UserProc *pUserProc = OverloadSolution("==",subs, params, NULL); 1093 1093 1094 1094 delete params[0]; … … 1326 1326 //戻り値をセット 1327 1327 if(Parameter[0]){ 1328 UserProc &proc = UserProc::CompilingUserProc();1328 const UserProc &proc = UserProc::CompilingUserProc(); 1329 1329 1330 1330 const char *temp = "_System_ReturnValue";
Note:
See TracChangeset
for help on using the changeset viewer.