Changeset 14 in dev for BasicCompiler_Common/DebugMiddleFile.cpp
- Timestamp:
- Dec 10, 2006, 10:58:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/DebugMiddleFile.cpp
r5 r14 474 474 //ソースコード 475 475 i2++; 476 pBaseBuffer=(char *)HeapAlloc(hHeap,0,lstrlen(buffer+i2)+3); 477 basbuf=pBaseBuffer+2; 478 lstrcpy(basbuf,buffer+i2); 479 i2+=lstrlen(buffer+i2)+1; 476 CSource::obj.SetSourceCode(buffer + i2); 477 this->basbuf=CSource::obj.SourceCode; 480 478 extern char *basbuf; 481 479 basbuf=this->basbuf; 480 i2+=lstrlen(buffer+i2)+1; 482 481 483 482 //コードと行番号の関係 … … 934 933 935 934 //ソースコード 936 extern char *pBaseBuffer;937 935 extern char *basbuf; 938 pBaseBuffer=this->pBaseBuffer;939 936 basbuf=this->basbuf; 940 937 … … 1016 1013 DeleteConstInfo(ppConstHash); 1017 1014 1018 //ソースコードを解放1019 HeapDefaultFree(pBaseBuffer);1020 1021 1015 //コードと行番号の関係を解放 1022 1016 HeapDefaultFree(pLineInfo);
Note:
See TracChangeset
for help on using the changeset viewer.