Changeset 708 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/ParamImpl.cpp
- Timestamp:
- Jul 26, 2008, 7:27:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/ParamImpl.cpp
r673 r708 309 309 lstrcpy(Parms[ParmsNum],param.GetInitValue().c_str() ); 310 310 ParmsNum++; 311 312 types.push_back( Type() ); 311 313 } 312 314 } … … 334 336 335 337 //省略パラメータに "0" を指定する 336 for(;ParmsNum < (int)params.size();ParmsNum++){ 338 while( ParmsNum < (int)params.size() ) 339 { 337 340 extern HANDLE hHeap; 338 341 char temporary[64]; … … 341 344 Parms[ParmsNum]=(char *)HeapAlloc(hHeap,0,lstrlen(temporary)+1); 342 345 lstrcpy(Parms[ParmsNum],temporary); 346 347 ParmsNum++; 348 349 types.push_back( Type() ); 343 350 } 344 351 }
Note:
See TracChangeset
for help on using the changeset viewer.