Changeset 79 in dev for BasicCompiler_Common/Type.h


Ignore:
Timestamp:
Mar 25, 2007, 5:58:57 AM (17 years ago)
Author:
dai_9181
Message:

バージョンをβ17にした。
#strictをデフォルトの状態で適用するようにした(#90)。
Dimステートメントにおいて、初期値式とAsが同時に指定されていたとき、As以降も初期値式の一部として捉えるよう、変更(#91)。
GetTypeDef関数を完全廃止。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Type.h

    r77 r79  
    44
    55class Type{
    6     static const int basicTypeList[];
    7     static const string basicTypeNameList[];
    8 
    9 
    106    int basicType;
    117    union{
     
    1511
    1612public:
    17 
    18     static bool StringToBasicType( const string &typeName, int &basicType );
    19     static bool StringToType( const string &typeName, Type &type );
    2013    static int GetBasicSize( int basicType );
    2114
     
    124117
    125118    static Type String();
     119
     120
     121private:
     122    static const int basicTypeList[];
     123    static const string basicTypeNameList[];
     124public:
     125    static bool StringToBasicType( const string &typeName, int &basicType );
     126    static bool StringToType( const string &typeName, Type &type );
    126127};
Note: See TracChangeset for help on using the changeset viewer.