Changeset 541 in dev for trunk/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- May 4, 2008, 12:34:35 AM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.h
r467 r541 21 21 DWORD ImageBase; 22 22 23 char **SynonymErrorWords;24 int SynonymErrorNum;25 23 BOOL bStopCompile; 26 24 -
trunk/ab5.0/abdev/BasicCompiler_Common/MakeExe.cpp
r523 r541 122 122 StepCompileProgress(); 123 123 124 //重複エラー情報管理のメモリを確保 125 extern char **SynonymErrorWords; 126 extern int SynonymErrorNum; 127 SynonymErrorNum=0; 128 SynonymErrorWords=(char **)HeapAlloc(hHeap,0,1); 124 // 重複エラー情報をクリア 125 compiler.errorMessenger.ClearSynonymKeyWords(); 129 126 130 127 ChangeCommandToCode(basbuf); 131 128 compiler.GetObjectModule().GetSources()[0]._ResetLength(); 132 133 //重複エラー情報管理のメモリを解放134 for(i3=0;i3<SynonymErrorNum;i3++) HeapDefaultFree(SynonymErrorWords[i3]);135 HeapDefaultFree(SynonymErrorWords);136 SynonymErrorWords=0;137 129 138 130 if( compiler.errorMessenger.HasError() || bStopCompile ) -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Messenger.h
r472 r541 67 67 void OutputFatalError(); 68 68 69 void ClearSynonymKeyWords(); 70 69 71 int GetErrorCount() const; 70 72 bool HasError() const; -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Messenger.cpp
r523 r541 396 396 } 397 397 398 void ErrorMessenger::ClearSynonymKeyWords() 399 { 400 synonymKeyWords.clear(); 401 } 402 398 403 int ErrorMessenger::GetErrorCount() const 399 404 {
Note:
See TracChangeset
for help on using the changeset viewer.