Changeset 397 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Feb 25, 2008, 2:51:18 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Procedure.cpp
r383 r397 99 99 //パラメータ 100 100 if(sourceOfParams[i]!='('){ 101 S moothieException::Throw(1,NULL,nowLine);101 SetError(1,NULL,nowLine); 102 102 return 0; 103 103 } … … 178 178 i++; 179 179 i = GetOneParameter( sourceOfParams, i, initValue ); 180 if( sourceOfParams[i-1] == ',' ) 181 { 182 i--; 183 } 180 184 181 185 // TODO: エラー用 fix me!!! … … 245 249 else if(sourceOfParams[i]==')') continue; 246 250 else{ 247 S moothieException::Throw(1,NULL,nowLine);251 SetError(1,NULL,nowLine); 248 252 break; 249 253 } … … 366 370 else if(sourceOfParams[i]==')') continue; 367 371 else{ 368 S moothieException::Throw(1,NULL,nowLine);372 SetError(1,NULL,nowLine); 369 373 break; 370 374 } … … 695 699 //パラメータ 696 700 if(sourceOfParams[i]!='('){ 697 S moothieException::Throw(1,NULL,nowLine);701 SetError(1,NULL,nowLine); 698 702 return 0; 699 703 } … … 814 818 else if(sourceOfParams[i]==')') continue; 815 819 else{ 816 S moothieException::Throw(1,NULL,nowLine);820 SetError(1,NULL,nowLine); 817 821 break; 818 822 } … … 990 994 //パラメータ 991 995 if(sourceOfParams[i]!='('){ 992 S moothieException::Throw(1,NULL,nowLine);996 SetError(1,NULL,nowLine); 993 997 return 0; 994 998 } … … 1107 1111 else if(sourceOfParams[i]==')') continue; 1108 1112 else{ 1109 S moothieException::Throw(1,NULL,nowLine);1113 SetError(1,NULL,nowLine); 1110 1114 break; 1111 1115 } -
trunk/abdev/BasicCompiler_Common/src/TypeDef.cpp
r395 r397 130 130 //識別子が重複している場合はエラーにする 131 131 if(lstrcmp(temporary,pTemp)==0){ 132 S moothieException::Throw(1,NULL,nowLine);132 SetError(1,NULL,nowLine); 133 133 return; 134 134 }
Note:
See TracChangeset
for help on using the changeset viewer.