Changeset 117 in dev for BasicCompiler_Common/Class.cpp
- Timestamp:
- May 12, 2007, 5:31:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.cpp
r114 r117 10 10 11 11 const CClass *pobj_CompilingClass; 12 const CClass *pobj_StringClass;13 12 14 13 CMember *pCompilingMethod; … … 819 818 key=hash(name.c_str()); 820 819 820 if( namespaceScopes.size() == 0 && name == "Object" ){ 821 return GetObjectClassPtr(); 822 } 823 else if( namespaceScopes.size() == 0 && name == "String" ){ 824 return GetStringClassPtr(); 825 } 826 821 827 if(pobj_ClassHash[key]){ 822 828 CClass *pobj_c; … … 864 870 if(lstrcmp(name,"String")==0){ 865 871 //Stringクラス 866 p obj_StringClass=pobj_c;872 pStringClass=pobj_c; 867 873 } 868 874 if( lstrcmp( name, "Object" ) == 0 ){ … … 1770 1776 1771 1777 1772 CClass *CDBClass::GetStringClass () const1778 CClass *CDBClass::GetStringClassPtr() const 1773 1779 { 1774 1780 if( !pStringClass ){ … … 1778 1784 return pStringClass; 1779 1785 } 1780 CClass *CDBClass::GetObjectClass () const1786 CClass *CDBClass::GetObjectClassPtr() const 1781 1787 { 1782 1788 if( !pObjectClass ){
Note:
See TracChangeset
for help on using the changeset viewer.