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