Changeset 270 in dev for trunk/abdev/BasicCompiler_Common/Intermediate_Step1.cpp
- Timestamp:
- Aug 9, 2007, 3:18:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Intermediate_Step1.cpp
r269 r270 253 253 254 254 compiler.staticLibraryFilePaths.push_back( temporary ); 255 256 ObjectModule *pStaticLibrary = new ObjectModule(); 257 pStaticLibrary->ReadText( temporary ); 258 compiler.staticLibraries.push_back( pStaticLibrary ); 255 259 256 260 for(;;i2++){ … … 361 365 362 366 bool isBeforeCharDelimitation = false; 363 temporary=(char *)HeapAlloc(hHeap,HEAP_ZERO_MEMORY, lstrlen(buffer)*2);367 temporary=(char *)HeapAlloc(hHeap,HEAP_ZERO_MEMORY,(lstrlen(buffer)+255)*2); 364 368 for(i=0,i2=0,IsStr=0;;i++,i2++){ 365 369 if(buffer[i]=='\"') IsStr^=1;
Note:
See TracChangeset
for help on using the changeset viewer.