aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-01-26 16:03:19 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-01-26 16:03:19 -0200
commit0d50b87aa47d3cb64730bf5c8646e5e6ff02c268 (patch)
treeadfab90a2efad542f12d7d7b0219226deedcb7a5 /table.h
parent19290a8e92a9b22f448b82c2bcb67ea635dee6ad (diff)
downloadlua-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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/table.h b/table.h
index a3c10388..cb2ef006 100644
--- a/table.h
+++ b/table.h
@@ -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
13typedef struct
14{
15 Object object;
16 TreeNode *varname;
17} Symbol;
18
19
13extern Symbol *lua_table; 20extern Symbol *lua_table;
14extern TaggedString **lua_constant; 21extern TaggedString **lua_constant;
15 22