Changeset 95 in dev for BasicCompiler_Common
- Timestamp:
- Apr 15, 2007, 1:34:02 AM (18 years ago)
- Location:
- BasicCompiler_Common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/common.h
r94 r95 296 296 CONSTINFO *GetConstHash(char *name); 297 297 DllProc *GetDeclareHash(char *name); 298 void GetOverloadSubHash( const char *lpszName, std::vector<UserProc *> &subs ); 298 299 UserProc *GetSubHash(const char *name,BOOL bError=0); 299 300 UserProc *GetMethodHash(const char *ObjectName,const char *MethodName,const char *Parameter,BOOL bError=0); 300 void GetOverloadSubHash( const char *lpszName, std::vector<UserProc *> &subs);301 UserProc *GetClassMethod( const char *className, const char *methodName ); 301 302 302 303 //Object.cpp -
BasicCompiler_Common/hash.cpp
r75 r95 184 184 return pUserProc; 185 185 } 186 187 UserProc *GetClassMethod( const char *className, const char *methodName ){ 188 CClass *pClass = pobj_DBClass->check( className ); 189 if( pClass ){ 190 vector<UserProc *> userProcs; 191 pClass->EnumMethod( methodName, userProcs ); 192 if( userProcs.size() == 1 ){ 193 return userProcs[0]; 194 } 195 } 196 197 char temporary[VN_SIZE]; 198 sprintf( temporary, "%s.%s", className, methodName ); 199 SetError(3, temporary, -1 ); 200 201 return NULL; 202 } -
BasicCompiler_Common/include/Smoothie.h
r92 r95 14 14 log = ""; 15 15 16 ofstream ofs( ( (string)BasicSystemDir + " compile.log" ).c_str(), ios_base::trunc );16 ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::trunc ); 17 17 ofs.close(); 18 18 #endif … … 23 23 24 24 { 25 ofstream ofs( ( (string)BasicSystemDir + " compile.log" ).c_str(), ios_base::app );25 ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::app ); 26 26 ofs << text << endl; 27 27 ofs.close(); … … 30 30 } 31 31 static void PutFile( const string &fileName, const string &buffer ){ 32 ofstream ofs( ( (string)BasicSystemDir + fileName ).c_str() );32 ofstream ofs( ( (string)BasicSystemDir + "Log\\" + fileName ).c_str() ); 33 33 ofs << buffer << endl; 34 34 ofs.close();
Note:
See TracChangeset
for help on using the changeset viewer.