Changeset 73 in dev for BasicCompiler_Common/calculation.cpp
- Timestamp:
- Mar 16, 2007, 11:07:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/calculation.cpp
r69 r73 1195 1195 return 0; 1196 1196 } 1197 BOOL IsStringSubsituation(CClass *pobj_c){1198 //String受け入れ可能な "=" 演算子をオーバーロードしているかどうかを調べる1199 BOOL bRet=0;1200 1201 std::vector<SUBINFO *> subs;1202 pobj_c->EnumMethod( CALC_SUBSITUATION, subs );1203 if( subs.size() == 0 ){1204 bRet=0;1205 goto finish;1206 }1207 1208 foreach( SUBINFO *psi, subs ){1209 if(psi->ParmNum==2){1210 TYPEINFO TypeInfo={psi->pParmInfo[1].type,psi->pParmInfo[1].u.index};1211 if(IsStringObjectType( TypeInfo )){1212 bRet=1;1213 goto finish;1214 }1215 }1216 }1217 1218 finish:1219 return bRet;1220 }1221 1197 int IsStrCalculation(char *Command){ 1222 1198 int i,i2,i3,i4,type,PareNum; … … 1282 1258 1283 1259 //ユーザー定義関数 1284 S UBINFO*psi;1260 SubInfo *psi; 1285 1261 psi=GetSubHash(temporary); 1286 1262 if(psi){
Note:
See TracChangeset
for help on using the changeset viewer.