Changeset 117 in dev for BasicCompiler_Common/Type.cpp
- Timestamp:
- May 12, 2007, 5:31:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Type.cpp
r116 r117 82 82 if( StringToBasicType( typeName, type.basicType ) ){ 83 83 // 基本型だったとき 84 return true; 85 } 86 87 88 // Object型だったとき 89 if( typeName == "Object" ){ 90 type.SetType( DEF_OBJECT, pobj_DBClass->GetObjectClassPtr() ); 91 return true; 92 } 93 94 // String型だったとき 95 if( typeName == "String" ){ 96 type.SetType( DEF_OBJECT, pobj_DBClass->GetStringClassPtr() ); 84 97 return true; 85 98 } … … 507 520 508 521 Type Type::String(){ 509 extern const CClass *pobj_StringClass; 510 if( pobj_StringClass == NULL ){ 511 SetError(); 512 } 513 return Type( DEF_OBJECT, *pobj_StringClass ); 514 } 522 return Type( DEF_OBJECT, *pobj_DBClass->GetStringClassPtr() ); 523 }
Note:
See TracChangeset
for help on using the changeset viewer.