Changeset 284 in dev
- Timestamp:
- Aug 16, 2007, 12:07:10 AM (17 years ago)
- Location:
- trunk/abdev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/CParameter.cpp
r283 r284 217 217 if(bByVal==1){ 218 218 //値参照 219 219 /* 220 220 if(Parms[i2][0]==1&&Parms[i2][1]==ESC_BYVAL){ 221 221 char temp2[255]; … … 224 224 continue; 225 225 } 226 226 */ 227 227 if( dummyType.IsStruct() ){ 228 228 SetStructParameter( dummyType, Parms[i2] ); -
trunk/abdev/BasicCompiler_Common/ParamImpl.cpp
r206 r284 295 295 if( SecondParmNum == -1 ) SecondParmNum = (int)params.size(); 296 296 297 if(ParmsNum>(int)params.size() && params.size() != 0){298 if( params[params.size()-1]->GetBasicType()!=DEF_ELLIPSE){297 if(ParmsNum>(int)params.size()){ 298 if( params.size() == 0 || params[params.size()-1]->GetBasicType()!=DEF_ELLIPSE ){ 299 299 //パラメータが多すぎるとき 300 300 SetError(10,procName,cp);
Note:
See TracChangeset
for help on using the changeset viewer.