Ignore:
Timestamp:
Aug 14, 2007, 3:22:02 AM (17 years ago)
Author:
dai_9181
Message:

sourceをObjectModuleに入れた

File:
1 edited

Legend:

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

    r276 r279  
    206206}
    207207
    208 void ShowErrorLine(int LineNum,char *FileName){
     208void ShowErrorLine(int LineNum,const char *constFileName){
    209209    HANDLE hFile;
    210210    DWORD dw;
     211    char FileName[MAX_PATH];
    211212    char temporary[MAX_PATH];
     213
     214    lstrcpy( FileName, constFileName );
    212215
    213216    if(LineNum==-1) return;
     
    216219        if(FileName){
    217220
    218             while(!IsFile(FileName)){
     221            while( !IsFileExist( FileName ) ){
    219222                char temp2[MAX_PATH],temp3[MAX_PATH];
    220223                _splitpath(FileName,NULL,NULL,temp2,temp3);
Note: See TracChangeset for help on using the changeset viewer.