Changeset 76 in dev for BasicCompiler_Common/common.h


Ignore:
Timestamp:
Mar 21, 2007, 9:26:56 PM (17 years ago)
Author:
dai_9181
Message:

TYPEINFO→Typeへのリファクタリングを実施。32bitが未完成。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/common.h

    r75 r76  
    1212#include <vector>
    1313#include <string>
     14#include <fstream>
    1415
    1516//boost libraries
     
    172173    int FilesNum;
    173174    int LineOfFile[MAX_LEN];
    174 };
    175 
    176 
    177 //変数
    178 struct VARIABLE{
    179     char name[255];
    180     int type;
    181     union{
    182         LONG_PTR index;
    183         CClass *pobj_c;
    184     }u;
    185 
    186     DWORD fRef;
    187 
    188     //定数変数かどうか
    189     bool bConst;
    190 
    191     BOOL bArray;
    192     int SubScripts[MAX_ARRAYDIM];
    193 
    194     //コンストラクタ用パラメータ
    195     char *ConstractParameter;
    196 
    197     /* --- オフセット ---
    198 
    199         ※グローバル変数で初期バッファがない場合は最上位ビットに1がセットされ、
    200         初期バッファの有無が識別される。
    201         (その後、スケジュール実行により、実際の配置に並び替えられる)*/
    202     int offset;
    203 
    204 
    205     //レキシカルスコープ用
    206     int ScopeStartAddress;
    207     int ScopeEndAddress;
    208     int ScopeLevel;
    209     BOOL bLiving;
    210 
    211 
    212     int source_code_address;
    213175};
    214176
     
    482444void DeleteProcPtrInfo(void);
    483445
     446//OldStatement.cpp
     447void Opcode_Input(const char *Parameter);
     448void Opcode_Print(const char *Parameter,BOOL bWrite);
     449
    484450//LoopRefCheck.cpp
    485451class CLoopRefCheck{
Note: See TracChangeset for help on using the changeset viewer.