Changeset 290 in dev for trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
- Timestamp:
- Aug 21, 2007, 11:00:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
r265 r290 81 81 } 82 82 83 bool Opcode_CallProc(const char *Parameter,const UserProc *pUserProc,DWORD dwFlags,const char *ObjectName ,int RefType){83 bool Opcode_CallProc(const char *Parameter,const UserProc *pUserProc,DWORD dwFlags,const char *ObjectName ){ 84 84 int i2; 85 85 … … 115 115 Type varType; 116 116 GetVarType( ObjectName, varType, false ); 117 pobj_c = &varType.GetClass(); 118 if( NATURAL_TYPE( varType.GetBasicType() ) != DEF_OBJECT ){ 117 if( NATURAL_TYPE( varType.GetBasicType() ) == DEF_OBJECT ) 118 { 119 pobj_c = &varType.GetClass(); 120 } 121 else 122 { 119 123 pobj_c=compiler.GetObjectModule().meta.GetClasses().Find(ObjectName); 120 124 if( pobj_c ){
Note:
See TracChangeset
for help on using the changeset viewer.