Changeset 75 in dev for BasicCompiler32/NumOpe.cpp
- Timestamp:
- Mar 20, 2007, 4:36:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/NumOpe.cpp
r69 r75 78 78 79 79 extern CClass *pobj_StringClass; 80 T YPEINFObaseTypeInfo = { DEF_OBJECT, (LONG_PTR)pobj_StringClass };80 Type baseTypeInfo = { DEF_OBJECT, (LONG_PTR)pobj_StringClass }; 81 81 Operator_New( *pobj_StringClass, "", parameter, baseTypeInfo ); 82 82 … … 97 97 if(Command[0]==1&& Command[1]==ESC_NEW ){ 98 98 //New演算子(オブジェクト生成) 99 T YPEINFObaseTypeInfo = { BaseType, lpBaseIndex };99 Type baseTypeInfo = { BaseType, lpBaseIndex }; 100 100 int resultType = Operator_New(Command+2,plpIndex, baseTypeInfo ); 101 101 … … 157 157 if(type[sp-2]==DEF_OBJECT){ 158 158 //オーバーロードされたオペレータを呼び出す 159 T YPEINFOBaseTypeInfo={BaseType,lpBaseIndex};159 Type BaseTypeInfo={BaseType,lpBaseIndex}; 160 160 i2=CallOperatorProc(idCalc,&BaseTypeInfo,type,index_stack,bUseHeap,sp); 161 161 if(i2==0){ … … 195 195 CClass *pobj_Class; 196 196 pobj_Class=(CClass *)lpBaseIndex; 197 T YPEINFOBaseTypeInfo = {BaseType,lpBaseIndex};197 Type BaseTypeInfo = {BaseType,lpBaseIndex}; 198 198 if(IsStringObjectType(BaseTypeInfo)){ 199 199 //要求タイプがオブジェクトであり、Stringの受け入れが可能な場合 … … 342 342 i2=GetVarType(variable,(LONG_PTR *)&pobj_c,0); 343 343 if(i2==DEF_OBJECT){ 344 T YPEINFORetTypeInfo;344 Type RetTypeInfo; 345 345 CallIndexerGetterProc(pobj_c,variable,array_element,RetTypeInfo); 346 346 type[sp]=RetTypeInfo.type; … … 500 500 501 501 if(GetSubHash(VarName,0)){ 502 T YPEINFORetTypeInfo;502 Type RetTypeInfo; 503 503 CallPropertyMethod(term,NULL,&RetTypeInfo); 504 504
Note:
See TracChangeset
for help on using the changeset viewer.