Changeset 77 in dev for BasicCompiler_Common/StrOperation.cpp
- Timestamp:
- Mar 22, 2007, 2:41:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/StrOperation.cpp
r49 r77 175 175 return 0; 176 176 } 177 int GetOneParameter(c har *Parameter,int pos,char *retAns){177 int GetOneParameter(const char *Parameter,int pos,char *retAns){ 178 178 int i,i2,i3,IsStr; 179 179 for(i=pos,i2=0,IsStr=0;;i++,i2++){ … … 196 196 break; 197 197 } 198 199 if(IsCommandDelimitation(Parameter[i])&&IsStr==0 200 || Parameter[i] == ')' && IsStr == 0 ){ 201 retAns[i2]=0; 202 break; 203 } 204 198 205 retAns[i2]=Parameter[i]; 199 if(IsCommandDelimitation(Parameter[i])&&IsStr==0){200 retAns[i2]=0;201 break;202 }203 206 } 204 207 return i;
Note:
See TracChangeset
for help on using the changeset viewer.