Changeset 76 in dev for BasicCompiler_Common/common.h
- Timestamp:
- Mar 21, 2007, 9:26:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/common.h
r75 r76 12 12 #include <vector> 13 13 #include <string> 14 #include <fstream> 14 15 15 16 //boost libraries … … 172 173 int FilesNum; 173 174 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;213 175 }; 214 176 … … 482 444 void DeleteProcPtrInfo(void); 483 445 446 //OldStatement.cpp 447 void Opcode_Input(const char *Parameter); 448 void Opcode_Print(const char *Parameter,BOOL bWrite); 449 484 450 //LoopRefCheck.cpp 485 451 class CLoopRefCheck{
Note:
See TracChangeset
for help on using the changeset viewer.