Changeset 422 in dev for trunk/abdev/BasicCompiler_Common/src/Parameter.cpp
- Timestamp:
- Mar 8, 2008, 10:38:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Parameter.cpp
r383 r422 85 85 //パラメータ 86 86 int i = 0; 87 if(sourceOfParams[i]!='('){88 SetError(1,NULL,nowLine);89 return 0;90 }91 i++;92 87 while(1){ 93 if(sourceOfParams[i]==')') break; 88 if( sourceOfParams[i] == '\0' ) 89 { 90 break; 91 } 94 92 95 93 //ByRef … … 222 220 this->push_back( pParam ); 223 221 224 if(sourceOfParams[i]==','){ 222 if( sourceOfParams[i] == ',' ) 223 { 225 224 i++; 226 225 continue; 227 226 } 228 else if(sourceOfParams[i]==')') continue; 227 else if( sourceOfParams[i] == '\0' ) 228 { 229 break; 230 } 229 231 else{ 230 232 SetError(1,NULL,nowLine);
Note:
See TracChangeset
for help on using the changeset viewer.