diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-14 19:40:14 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-14 19:40:14 -0200 |
| commit | 86b35cf4f6a824880239069d0afe282e95806aaa (patch) | |
| tree | 78352c354fc6befe1af900606cb84b23a40235e0 /table.h | |
| parent | 3b7a36653b5da227502ec5a3c677b6a351af67be (diff) | |
| download | lua-86b35cf4f6a824880239069d0afe282e95806aaa.tar.gz lua-86b35cf4f6a824880239069d0afe282e95806aaa.tar.bz2 lua-86b35cf4f6a824880239069d0afe282e95806aaa.zip | |
unification of symbol tree and constant tree
Diffstat (limited to 'table.h')
| -rw-r--r-- | table.h | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -1,12 +1,14 @@ | |||
| 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.3 1994/10/17 19:03:23 celes Exp roberto $ | 4 | ** $Id: table.h,v 2.4 1994/11/03 21:48:36 roberto Exp roberto $ |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifndef table_h | 7 | #ifndef table_h |
| 8 | #define table_h | 8 | #define table_h |
| 9 | 9 | ||
| 10 | #include "tree.h" | ||
| 11 | |||
| 10 | extern Symbol *lua_table; | 12 | extern Symbol *lua_table; |
| 11 | extern char **lua_constant; | 13 | extern char **lua_constant; |
| 12 | 14 | ||
| @@ -19,8 +21,9 @@ extern Word lua_recovered; | |||
| 19 | 21 | ||
| 20 | 22 | ||
| 21 | void lua_initconstant (void); | 23 | void lua_initconstant (void); |
| 22 | int lua_findsymbol (char *s); | 24 | int luaI_findsymbolbyname (char *name); |
| 23 | int lua_findconstant (char *s); | 25 | int luaI_findsymbol (TreeNode *t); |
| 26 | int luaI_findconstant (TreeNode *t); | ||
| 24 | void lua_travsymbol (void (*fn)(Object *)); | 27 | void lua_travsymbol (void (*fn)(Object *)); |
| 25 | void lua_markobject (Object *o); | 28 | void lua_markobject (Object *o); |
| 26 | void lua_pack (void); | 29 | void lua_pack (void); |
