Changeset 1233 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Oct 12, 2000, 7:30:41 PM (25 years ago)
Author:
ercodmgr
Message:

bug mineur cmv 12/10/00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/cxxexecutor.cc

    r1230 r1233  
    141141
    142142} else if(kw == "c++args") {
    143   if(tokens.size()==1) if(tokens[0]=="-?") cout<<"c++args "<<GetArgs()<<endl;
     143  if(tokens.size()==1) if(tokens[0]=="-?")
     144    {cout<<"c++args "<<GetArgs()<<endl; return(0);}
    144145  FillArgs(tokens);
    145146
     
    172173
    173174} else if(kw == "c++include") {
    174   if(tokens.size()==1) if(tokens[0]=="-?") cout<<"c++include "<<GetInclude()<<endl;
     175  if(tokens.size()==1) if(tokens[0]=="-?")
     176    {cout<<"c++include "<<GetInclude()<<endl; return(0);}
    175177  FillInclude(tokens);
    176178
    177179} else if(kw == "c++compileopt") {
    178   if(tokens.size()==1) if(tokens[0]=="-?") cout<<"c++compileopt "<<GetCompileOpt()<<endl;
     180  if(tokens.size()==1) if(tokens[0]=="-?")
     181    {cout<<"c++compileopt "<<GetCompileOpt()<<endl; return(0);}
    179182  FillCompileOpt(tokens);
    180183
    181184} else if(kw == "c++linkopt") {
    182   if(tokens.size()==1) if(tokens[0]=="-?") cout<<"c++linkopt "<<GetLinkOpt()<<endl;
     185  if(tokens.size()==1) if(tokens[0]=="-?")
     186    {cout<<"c++linkopt "<<GetLinkOpt()<<endl; return(0);}
    183187  FillLinkOpt(tokens);
    184188
    185189} else if(kw == "c++mylibs") {
    186   if(tokens.size()==1) if(tokens[0]=="-?") cout<<"c++mylibs "<<GetLinkLibs()<<endl;
     190  if(tokens.size()==1) if(tokens[0]=="-?")
     191    {cout<<"c++mylibs "<<GetLinkLibs()<<endl; return(0);}
    187192  FillLinkLibs(tokens);
    188193
Note: See TracChangeset for help on using the changeset viewer.