diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-01-26 16:03:19 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-01-26 16:03:19 -0200 |
commit | 0d50b87aa47d3cb64730bf5c8646e5e6ff02c268 (patch) | |
tree | adfab90a2efad542f12d7d7b0219226deedcb7a5 /table.h | |
parent | 19290a8e92a9b22f448b82c2bcb67ea635dee6ad (diff) | |
download | lua-0d50b87aa47d3cb64730bf5c8646e5e6ff02c268.tar.gz lua-0d50b87aa47d3cb64730bf5c8646e5e6ff02c268.tar.bz2 lua-0d50b87aa47d3cb64730bf5c8646e5e6ff02c268.zip |
lua_table now has references to global variable names (TreeNode's).
Diffstat (limited to 'table.h')
-rw-r--r-- | table.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** Module to control static tables | 2 | ** Module to control static tables |
3 | ** TeCGraf - PUC-Rio | 3 | ** TeCGraf - PUC-Rio |
4 | ** $Id: table.h,v 2.13 1995/10/26 14:21:56 roberto Exp roberto $ | 4 | ** $Id: table.h,v 2.14 1996/01/22 14:15:13 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef table_h | 7 | #ifndef table_h |
@@ -10,6 +10,13 @@ | |||
10 | #include "tree.h" | 10 | #include "tree.h" |
11 | #include "opcode.h" | 11 | #include "opcode.h" |
12 | 12 | ||
13 | typedef struct | ||
14 | { | ||
15 | Object object; | ||
16 | TreeNode *varname; | ||
17 | } Symbol; | ||
18 | |||
19 | |||
13 | extern Symbol *lua_table; | 20 | extern Symbol *lua_table; |
14 | extern TaggedString **lua_constant; | 21 | extern TaggedString **lua_constant; |
15 | 22 | ||