Ignore:
Timestamp:
Aug 9, 2007, 3:18:40 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/Intermediate_Step1.cpp

    r269 r270  
    253253
    254254                compiler.staticLibraryFilePaths.push_back( temporary );
     255
     256                ObjectModule *pStaticLibrary = new ObjectModule();
     257                pStaticLibrary->ReadText( temporary );
     258                compiler.staticLibraries.push_back( pStaticLibrary );
    255259
    256260                for(;;i2++){
     
    361365
    362366    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);
    364368    for(i=0,i2=0,IsStr=0;;i++,i2++){
    365369        if(buffer[i]=='\"') IsStr^=1;
Note: See TracChangeset for help on using the changeset viewer.