diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-12 15:32:40 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-12 15:32:40 -0300 |
| commit | 41259bff31dbb904edfb8070006ccb15577f8f04 (patch) | |
| tree | 664bf9cbe6394e9074435ecf2bd710712b4537c3 /func.h | |
| parent | afaa98a666acd5f596b50f56bb288815838c096e (diff) | |
| download | lua-41259bff31dbb904edfb8070006ccb15577f8f04.tar.gz lua-41259bff31dbb904edfb8070006ccb15577f8f04.tar.bz2 lua-41259bff31dbb904edfb8070006ccb15577f8f04.zip | |
BIG CHANGE: new data structure for constants, strings and globals, using
an array of hash tables for all them.
Diffstat (limited to 'func.h')
| -rw-r--r-- | func.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | typedef struct LocVar | 7 | typedef struct LocVar |
| 8 | { | 8 | { |
| 9 | TreeNode *varname; /* NULL signals end of scope */ | 9 | TaggedString *varname; /* NULL signals end of scope */ |
| 10 | int line; | 10 | int line; |
| 11 | } LocVar; | 11 | } LocVar; |
| 12 | 12 | ||
| @@ -30,7 +30,7 @@ void luaI_insertfunction (TFunc *f); | |||
| 30 | 30 | ||
| 31 | void luaI_initTFunc (TFunc *f); | 31 | void luaI_initTFunc (TFunc *f); |
| 32 | 32 | ||
| 33 | void luaI_registerlocalvar (TreeNode *varname, int line); | 33 | void luaI_registerlocalvar (TaggedString *varname, int line); |
| 34 | void luaI_unregisterlocalvar (int line); | 34 | void luaI_unregisterlocalvar (int line); |
| 35 | void luaI_closelocalvars (TFunc *func); | 35 | void luaI_closelocalvars (TFunc *func); |
| 36 | char *luaI_getlocalname (TFunc *func, int local_number, int line); | 36 | char *luaI_getlocalname (TFunc *func, int local_number, int line); |
