lua_table now has references to global variable names (TreeNode's).

This commit is contained in:
Roberto Ierusalimschy
1996-01-26 16:03:19 -02:00
parent 19290a8e92
commit 0d50b87aa4
5 changed files with 15 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
/*
** Module to control static tables
** TeCGraf - PUC-Rio
** $Id: table.h,v 2.13 1995/10/26 14:21:56 roberto Exp roberto $
** $Id: table.h,v 2.14 1996/01/22 14:15:13 roberto Exp roberto $
*/
#ifndef table_h
@@ -10,6 +10,13 @@
#include "tree.h"
#include "opcode.h"
typedef struct
{
Object object;
TreeNode *varname;
} Symbol;
extern Symbol *lua_table;
extern TaggedString **lua_constant;