Changeset 468 in dev for trunk/ab5.0/abdev/BasicCompiler64/Compile_ProcOp.cpp
- Timestamp:
- Mar 27, 2008, 3:04:28 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler64/Compile_ProcOp.cpp
r463 r468 119 119 } 120 120 else{ 121 SetError();121 compiler.errorMessenger.OutputFatalError(); 122 122 } 123 123 } … … 164 164 { 165 165 if(pGotoLabelSchedule->GetName().size()>0){ 166 SetError(6,pGotoLabelSchedule->GetName(),pGotoLabelSchedule->GetSourceCodePos());166 compiler.errorMessenger.Output(6,pGotoLabelSchedule->GetName(),pGotoLabelSchedule->GetSourceCodePos()); 167 167 } 168 168 else{ 169 169 char temporary[255]; 170 170 sprintf(temporary,"%d",pGotoLabelSchedule->GetLineNum()); 171 SetError(6,temporary,pGotoLabelSchedule->GetSourceCodePos());171 compiler.errorMessenger.Output(6,temporary,pGotoLabelSchedule->GetSourceCodePos()); 172 172 } 173 173 } … … 195 195 } 196 196 else{ 197 SetError();197 compiler.errorMessenger.OutputFatalError(); 198 198 } 199 199 } … … 205 205 206 206 if( pUserProc->GetLocalVars().size() ){ 207 SetError();207 compiler.errorMessenger.OutputFatalError(); 208 208 return; 209 209 } … … 506 506 } 507 507 if(!(temporary[0]=='('&&temporary[lstrlen(temporary)-1]==')')){ 508 SetError(1,NULL,cp);508 compiler.errorMessenger.Output(1,NULL,cp); 509 509 } 510 510 RemoveStringPare(temporary); … … 594 594 //With情報のメモリを解放 595 595 for(i3=0;i3<WithInfo.num;i3++){ 596 SetError(22,"With",WithInfo.pWithCp[i3]);596 compiler.errorMessenger.Output(22,"With",WithInfo.pWithCp[i3]); 597 597 HeapDefaultFree(WithInfo.ppName[i3]); 598 598 } … … 651 651 SetReg_WholeVariable(returnType,&RelativeVar,REG_RAX); 652 652 } 653 else SetError(300,NULL,cp);653 else compiler.errorMessenger.Output(300,NULL,cp); 654 654 } 655 655
Note:
See TracChangeset
for help on using the changeset viewer.