Changeset 128 in dev for BasicCompiler32/NumOpe.cpp
- Timestamp:
- May 18, 2007, 4:42:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/NumOpe.cpp
r122 r128 227 227 return false; 228 228 } 229 bool TermOpe( const char *term, const Type &baseType, Type &resultType, bool &isLiteral, BOOL *pbUseHeap, bool *pIsClassName, bool isProcedureCallOnly ){229 bool TermOpe( const char *term, const Type &baseType, Type &resultType, bool &isLiteral, BOOL *pbUseHeap, bool isWantObject, bool *pIsClassName, bool isProcedureCallOnly ){ 230 230 char parameter[VN_SIZE]; 231 231 … … 255 255 bool isClassName = false; 256 256 Type leftType; 257 if( !TermOpe( termLeft, baseType, leftType, isLiteral, pbUseHeap, &isClassName ) ){ 257 if( GetTermType( termLeft, leftType, isLiteral, &isClassName ) ){ 258 if( isClassName == false && Smoothie::Meta::blittableTypes.IsExist( leftType ) ){ 259 // 左側のオブジェクト部分がBlittable型のとき 260 261 char temporary[VN_SIZE]; 262 lstrcpy( temporary, termLeft ); 263 sprintf( termLeft, "%s(%s)", 264 Smoothie::Meta::blittableTypes.Find( leftType ).GetCreateStaticMethodFullName().c_str(), 265 temporary ); 266 } 267 } 268 269 if( !TermOpe( termLeft, baseType, leftType, isLiteral, pbUseHeap, true, &isClassName ) ){ 258 270 goto globalArea; 259 271 }
Note:
See TracChangeset
for help on using the changeset viewer.