Changeset 284 in dev for trunk/abdev/BasicCompiler_Common


Ignore:
Timestamp:
Aug 16, 2007, 12:07:10 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/ParamImpl.cpp

    r206 r284  
    295295    if( SecondParmNum == -1 ) SecondParmNum = (int)params.size();
    296296
    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 ){
    299299            //パラメータが多すぎるとき
    300300            SetError(10,procName,cp);
Note: See TracChangeset for help on using the changeset viewer.