source: dev/BasicCompiler_Common/LexicalScoping.h@ 16

Last change on this file since 16 was 4, checked in by dai_9181, 18 years ago
File size: 330 bytes
Line 
1
2
3class CLexicalScopes{
4 int level;
5 int StartAddresses[1024];
6public:
7 CLexicalScopes();
8 ~CLexicalScopes();
9
10 void Init(int addr);
11
12 void LevelUp(int addr);
13 void LevelDown(void);
14
15 int GetNowLevel(void);
16 int GetStartAddress(void);
17
18private:
19 VARIABLE *add(void);
20};
21
22extern CLexicalScopes obj_LexScopes;
Note: See TracBrowser for help on using the repository browser.