Changeset 11 in dev for BasicCompiler_Common/common.h


Ignore:
Timestamp:
Dec 8, 2006, 3:25:27 AM (17 years ago)
Author:
dai_9181
Message:

Const変数の書き込み規制を有効化(グローバル/ローカル変数のみ)
定数オブジェクトと定数メンバは未実装。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/common.h

    r7 r11  
    166166
    167167    //定数変数かどうか
    168     BOOL bConst;
     168    bool bConst;
    169169
    170170    BOOL bArray;
     
    386386#include "../BasicCompiler_Common/DebugSection.h"
    387387#include "../BasicCompiler_Common/LexicalScoping.h"
     388#include "../BasicCompiler_Common/Variable.h"
    388389
    389390
     
    413414SUBINFO **GetOverloadObjectSubHash(char *name,CClass *pobj_c, int *pNum);
    414415SUBINFO **GetOverloadSubHash(char *name,int *pNum);
    415 
    416 //Variable.cpp
    417 BOOL IsVariableTopChar(char c);
    418 BOOL IsVariableChar(char c);
    419 BOOL IsPtrType(int type);
    420 BOOL IsSignedType(int type);
    421 BOOL IsNaturalWholeNumberType(int type);
    422 BOOL IsWholeNumberType(int type);
    423 BOOL IsRealNumberType(int type);
    424 BOOL Is64Type(int type);
    425 int GetSignedType(int type);
    426 int GetUnsignedType(int type);
    427 int GetTypeSize(int type,LONG_PTR lpIndex);
    428 int GetPtrType(int type,LONG_PTR lpIndex);
    429 int GetTypeFixed(char *TypeName,LONG_PTR *lpNum);
    430 void GetOriginalTypeName(char *buffer);
    431 BOOL GetTypeName(int type,LONG_PTR lpIndex,char *name);
    432 BOOL GetVarFormatString(char *buffer,char *array,char *array2,char *NestMember,int *pRefType);
    433 void GetArrayElement(char *buffer,char *variable,char *array_element);
    434 BOOL CheckVarNameError(char *name,int NowLine);
    435 int JumpSubScripts(int *ss);
    436 void GetArrange(char *variable,char *variAnswer,int *SubScripts);
    437 int GetTypeFromSimpleName(char *variable);
    438 int GetVarType(char *NameBuffer,LONG_PTR *plpIndex,BOOL bError);
    439 BOOL GetDimentionFormat(char *buffer,char *VarName,int *SubScripts,TYPEINFO *pTypeInfo,char *InitBuf,char *ConstractParameter);
    440 BOOL GetNowStaticVarFullName(char *VarName,char *FullName);
    441 void AddGlobalVariable(char *name,int *SubScripts,TYPEINFO *pTypeInfo,int TypeSize,char *InitBuf,char *ConstractParameter,DWORD dwFlag);
    442416
    443417//Object.cpp
Note: See TracChangeset for help on using the changeset viewer.