Changeset 40 in dev for BasicCompiler_Common/Subroutine.cpp
- Timestamp:
- Jan 28, 2007, 3:48:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Subroutine.cpp
r38 r40 687 687 /////////////////// 688 688 689 psi->isReturnRef = false; 690 689 691 if(pobj_c){ 690 692 if(lstrcmp(psi->name,pobj_c->name)==0|| … … 701 703 for(;i2>0;i2--){ 702 704 if(buffer[i2]==')') break; 705 703 706 if(buffer[i2]==1&&buffer[i2+1]==ESC_AS){ 707 if( buffer[i2-2] == 1 && buffer[i2-1] == ESC_BYREF ){ 708 //参照型 709 psi->isReturnRef = true; 710 } 711 704 712 i2+=2; 705 713 i3=0; … … 1033 1041 } 1034 1042 1035 if(psi->ReturnType==DEF_OBJECT ){1043 if(psi->ReturnType==DEF_OBJECT && psi->isReturnRef == false){ 1036 1044 i = psi->RealParmNum; 1037 1045
Note:
See TracChangeset
for help on using the changeset viewer.