Changeset 36 in dev for ProjectEditor/SubOperation.cpp


Ignore:
Timestamp:
Jan 20, 2007, 4:55:26 AM (17 years ago)
Author:
dai_9181
Message:

Boolean型に対応。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/SubOperation.cpp

    r24 r36  
    415415    if(str[0]=='a'||str[0]=='A'){
    416416        if(lstrcmpi(str,"Abstract")==0) return COM_ABSTRACT;
     417        if(lstrcmpi(str,"As")==0) return -1;
    417418    }
    418419    else if(str[0]=='b'||str[0]=='B'){
    419420        if(lstrcmpi(str,"Beep")==0) return COM_BEEP;
     421        if(lstrcmpi(str,"Boolean")==0) return -1;
     422        if(lstrcmpi(str,"Byte")==0) return -1;
    420423    }
    421424    else if(str[0]=='c'||str[0]=='C'){
    422425        if(lstrcmpi(str,"Case")==0) return -1;
     426        if(lstrcmpi(str,"Char")==0) return -1;
    423427        if(lstrcmpi(str,"ChDir")==0) return COM_CHDIR;
    424428        if(lstrcmpi(str,"Circle")==0) return COM_CIRCLE;
     
    438442        if(lstrcmpi(str,"Dim")==0) return COM_DIM;
    439443        if(lstrcmpi(str,"Do")==0) return COM_DO;
     444        if(lstrcmpi(str,"Double")==0) return -1;
     445        if(lstrcmpi(str,"DWord")==0) return -1;
    440446    }
    441447    else if(str[0]=='e'||str[0]=='E'){
     
    458464    }
    459465    else if(str[0]=='f'||str[0]=='F'){
     466        if(lstrcmp(str,"False")==0) return -1;
    460467        if(lstrcmpi(str,"Field")==0) return COM_FIELD;
    461468        if(lstrcmpi(str,"For")==0) return COM_FOR;
     
    471478        if(lstrcmpi(str,"Inherits")==0) return COM_INHERITS;
    472479        if(lstrcmpi(str,"Input")==0) return COM_INPUT;
     480        if(lstrcmpi(str,"Int64")==0) return -1;
     481        if(lstrcmpi(str,"Integer")==0) return -1;
    473482        if(lstrcmpi(str,"Interface")==0) return COM_INTERFACE;
    474483    }
     
    480489        if(lstrcmpi(str,"Line")==0) return COM_LINE;
    481490        if(lstrcmpi(str,"Locate")==0) return COM_LOCATE;
     491        if(lstrcmpi(str,"Long")==0) return -1;
    482492        if(lstrcmpi(str,"Loop")==0) return COM_LOOP;
    483493    }
     
    503513        if(lstrcmpi(str,"Public")==0) return COM_PUBLIC;
    504514    }
     515    else if(str[0]=='q'||str[0]=='Q'){
     516        if(lstrcmpi(str,"QWord")==0) return -1;
     517    }
    505518    else if(str[0]=='r'||str[0]=='R'){
    506519        if(lstrcmpi(str,"Randomize")==0) return COM_RANDOMIZE;
     
    511524        if(lstrcmpi(str,"Select")==0) return COM_SELECT;
    512525        if(lstrcmpi(str,"SelectCase")==0) return COM_SELECT;
     526        if(lstrcmpi(str,"Single")==0) return -1;
    513527        if(lstrcmpi(str,"Sleep")==0) return COM_SLEEP;
    514528        if(lstrcmpi(str,"Static")==0) return -1;
     
    518532    else if(str[0]=='t'||str[0]=='T'){
    519533        if(lstrcmpi(str,"Then")==0) return -1;
     534        if(lstrcmp(str,"True")==0) return -1;
    520535        if(lstrcmpi(str,"Type")==0) return COM_TYPE;
    521536        if(lstrcmpi(str,"TypeDef")==0) return COM_TYPEDEF;
     
    532547        if(lstrcmpi(str,"Window")==0) return COM_WINDOW;
    533548        if(lstrcmpi(str,"With")==0) return COM_WITH;
     549        if(lstrcmpi(str,"Word")==0) return -1;
    534550        if(lstrcmpi(str,"Write")==0) return COM_WRITE;
    535551    }
Note: See TracChangeset for help on using the changeset viewer.