Changeset 263 in dev for trunk/abdev/BasicCompiler_Common/BreakPoint.cpp
- Timestamp:
- Aug 5, 2007, 3:47:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/BreakPoint.cpp
r256 r263 3 3 #include <jenga/include/common/Environment.h> 4 4 #include <jenga/include/smoothie/Source.h> 5 6 #include <Compiler.h> 5 7 6 8 #include "common.h" … … 69 71 70 72 if(i2==piLine[nCount]){ 71 extern int MaxLineInfoNum; 72 extern LINEINFO *pLineInfo; 73 extern SourceLines oldSourceLines; 73 74 74 75 loop: … … 77 78 78 79 int i3; 79 for(i3=0;i3< MaxLineInfoNum-1;i3++){80 if( pLineInfo[i3].TopCp==tempCp) break;80 for(i3=0;i3<(int)oldSourceLines.size()-1;i3++){ 81 if(oldSourceLines[i3].GetSourceCodePos()==tempCp) break; 81 82 } 82 if(i3== MaxLineInfoNum-1){83 if(i3==oldSourceLines.size()-1){ 83 84 i2--; 84 85 goto loop; 85 86 } 86 87 87 nativeCodeBuffer[ pLineInfo[i3].TopObp]=(char)0xCC;88 nativeCodeBuffer[oldSourceLines[i3].GetNativeCodePos()]=(char)0xCC; 88 89 89 90 nCount++;
Note:
See TracChangeset
for help on using the changeset viewer.