From 86b35cf4f6a824880239069d0afe282e95806aaa Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 14 Nov 1994 19:40:14 -0200 Subject: unification of symbol tree and constant tree --- table.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'table.h') diff --git a/table.h b/table.h index a885f201..423ba3dd 100644 --- a/table.h +++ b/table.h @@ -1,12 +1,14 @@ /* ** Module to control static tables ** TeCGraf - PUC-Rio -** $Id: table.h,v 2.3 1994/10/17 19:03:23 celes Exp roberto $ +** $Id: table.h,v 2.4 1994/11/03 21:48:36 roberto Exp roberto $ */ #ifndef table_h #define table_h +#include "tree.h" + extern Symbol *lua_table; extern char **lua_constant; @@ -19,8 +21,9 @@ extern Word lua_recovered; void lua_initconstant (void); -int lua_findsymbol (char *s); -int lua_findconstant (char *s); +int luaI_findsymbolbyname (char *name); +int luaI_findsymbol (TreeNode *t); +int luaI_findconstant (TreeNode *t); void lua_travsymbol (void (*fn)(Object *)); void lua_markobject (Object *o); void lua_pack (void); -- cgit v1.2.3-55-g6feb