Changeset 69 in dev for ProjectEditor


Ignore:
Timestamp:
Mar 13, 2007, 4:52:59 AM (17 years ago)
Author:
dai_9181
Message:

一時文字列をNewしたときに、bUseHeapフラグを立たせないようにした(bUseHeapが立つのは一時構造体のときのみ)。
DEF_PTR_CHARを廃止し、typeOfPtrCharを導入。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/SubOperation.cpp

    r58 r69  
    419419    else if(str[0]=='b'||str[0]=='B'){
    420420        if(lstrcmpi(str,"Beep")==0) return COM_BEEP;
    421         if(lstrcmpi(str,"Boolean")==0) return -1;
     421        if(lstrcmp(str,"Boolean")==0) return -1;
    422422        if(lstrcmpi(str,"ByRef")==0) return -1;
    423423        if(lstrcmpi(str,"ByVal")==0) return -1;
    424         if(lstrcmpi(str,"Byte")==0) return -1;
     424        if(lstrcmp(str,"Byte")==0) return -1;
    425425    }
    426426    else if(str[0]=='c'||str[0]=='C'){
    427427        if(lstrcmpi(str,"Case")==0) return -1;
    428         if(lstrcmpi(str,"Char")==0) return -1;
     428        if(lstrcmp(str,"Char")==0) return -1;
    429429        if(lstrcmpi(str,"ChDir")==0) return COM_CHDIR;
    430430        if(lstrcmpi(str,"Circle")==0) return COM_CIRCLE;
     
    444444        if(lstrcmpi(str,"Dim")==0) return COM_DIM;
    445445        if(lstrcmpi(str,"Do")==0) return COM_DO;
    446         if(lstrcmpi(str,"Double")==0) return -1;
    447         if(lstrcmpi(str,"DWord")==0) return -1;
     446        if(lstrcmp(str,"Double")==0) return -1;
     447        if(lstrcmp(str,"DWord")==0) return -1;
    448448    }
    449449    else if(str[0]=='e'||str[0]=='E'){
     
    480480        if(lstrcmpi(str,"Inherits")==0) return COM_INHERITS;
    481481        if(lstrcmpi(str,"Input")==0) return COM_INPUT;
    482         if(lstrcmpi(str,"Int64")==0) return -1;
    483         if(lstrcmpi(str,"Integer")==0) return -1;
     482        if(lstrcmp(str,"Int64")==0) return -1;
     483        if(lstrcmp(str,"Integer")==0) return -1;
    484484        if(lstrcmpi(str,"Interface")==0) return COM_INTERFACE;
    485485    }
     
    491491        if(lstrcmpi(str,"Line")==0) return COM_LINE;
    492492        if(lstrcmpi(str,"Locate")==0) return COM_LOCATE;
    493         if(lstrcmpi(str,"Long")==0) return -1;
     493        if(lstrcmp(str,"Long")==0) return -1;
    494494        if(lstrcmpi(str,"Loop")==0) return COM_LOOP;
    495495    }
     
    501501        if(lstrcmpi(str,"Next")==0) return COM_NEXT;
    502502        if(lstrcmpi(str,"New")==0) return -1;
     503        if(lstrcmpi(str,"Nothing")==0) return -1;
    503504    }
    504505    else if(str[0]=='o'||str[0]=='O'){
     
    517518    }
    518519    else if(str[0]=='q'||str[0]=='Q'){
    519         if(lstrcmpi(str,"QWord")==0) return -1;
     520        if(lstrcmp(str,"QWord")==0) return -1;
    520521    }
    521522    else if(str[0]=='r'||str[0]=='R'){
     
    525526    }
    526527    else if(str[0]=='s'||str[0]=='S'){
    527         if(lstrcmpi(str,"SByte")==0) return -1;
     528        if(lstrcmp(str,"SByte")==0) return -1;
    528529        if(lstrcmpi(str,"Select")==0) return COM_SELECT;
    529530        if(lstrcmpi(str,"SelectCase")==0) return COM_SELECT;
    530         if(lstrcmpi(str,"Single")==0) return -1;
     531        if(lstrcmp(str,"Single")==0) return -1;
    531532        if(lstrcmpi(str,"Sleep")==0) return COM_SLEEP;
    532533        if(lstrcmpi(str,"Static")==0) return -1;
     
    551552        if(lstrcmpi(str,"Window")==0) return COM_WINDOW;
    552553        if(lstrcmpi(str,"With")==0) return COM_WITH;
    553         if(lstrcmpi(str,"Word")==0) return -1;
     554        if(lstrcmp(str,"Word")==0) return -1;
    554555        if(lstrcmpi(str,"Write")==0) return COM_WRITE;
    555556    }
Note: See TracChangeset for help on using the changeset viewer.