Changeset 3425 in Sophya for trunk/SophyaProg/PrgUtil/scanppf.cc


Ignore:
Timestamp:
Dec 8, 2007, 11:22:55 PM (18 years ago)
Author:
ansari
Message:

Correction decodage argument -a0 -a1 ... ds scanppf.cc - Reza 08/12/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PrgUtil/scanppf.cc

    r3205 r3425  
    8989  else {
    9090    if (opt == "-n")  seq = false;
    91     else if (opt[1] == 'a') {  ana = true;  analev = opt[1]-'0'; }
     91    else if ((opt[0] == '-') && (opt[1] == 'a')) { 
     92      ana = true; 
     93      analev = 0;
     94      if (opt.length()>2)  analev = opt[2]-'0';
     95    }
    9296   
    9397    if (ana)   cout << " Analyse PInPersist( " << flnm << ")  Level=" << analev << endl;
Note: See TracChangeset for help on using the changeset viewer.