Changeset 2779 in Sophya for trunk/SophyaLib/SysTools


Ignore:
Timestamp:
May 30, 2005, 9:27:12 AM (20 years ago)
Author:
ansari
Message:

Correction bug decodage $#varname , introduit apres l amelioration decodage et remplacement des variables $varname - Reza 30 Mai 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/commander.cc

    r2753 r2779  
    11921192    }
    11931193  else {
    1194     q2 = s.find_first_of(" .:+-*/,[](){}&|!$\"'<>^%=#@\\",q+1);
     1194    if (s[q+1] == '#' ) q3 = q+2; // Variable in the form $#varname 
     1195    else q3 = q+1;
     1196    q2 = s.find_first_of(" .:+-*/,[](){}&|!$\"'<>^%=#@\\",q3);
    11951197    if (q2 > l) q2 = l;
    11961198    q3 = q2;
Note: See TracChangeset for help on using the changeset viewer.