diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-10 15:37:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-10 15:37:44 -0300 |
commit | 73aa465a8ed8dee6c6a27a6f8b2f51227b70789d (patch) | |
tree | 496a63ffffe0312f1d0b9882d97944fa38ed7801 /lparser.h | |
parent | 3d0577f4b98908be3f2d697ab75c5fbbd3f6999b (diff) | |
download | lua-73aa465a8ed8dee6c6a27a6f8b2f51227b70789d.tar.gz lua-73aa465a8ed8dee6c6a27a6f8b2f51227b70789d.tar.bz2 lua-73aa465a8ed8dee6c6a27a6f8b2f51227b70789d.zip |
some name changes
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.h,v 1.9 2000/03/03 18:53:17 roberto Exp roberto $ | 2 | ** $Id: lparser.h,v 1.11 2000/03/09 13:57:37 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -68,7 +68,7 @@ typedef struct expdesc { | |||
68 | 68 | ||
69 | /* state needed to generate code for a given function */ | 69 | /* state needed to generate code for a given function */ |
70 | typedef struct FuncState { | 70 | typedef struct FuncState { |
71 | TProtoFunc *f; /* current function header */ | 71 | Proto *f; /* current function header */ |
72 | struct FuncState *prev; /* enclosing function */ | 72 | struct FuncState *prev; /* enclosing function */ |
73 | int pc; /* next position to code */ | 73 | int pc; /* next position to code */ |
74 | int lasttarget; /* `pc' of last `jump target' */ | 74 | int lasttarget; /* `pc' of last `jump target' */ |
@@ -78,11 +78,11 @@ typedef struct FuncState { | |||
78 | int nvars; /* number of entries in f->locvars (-1 if no debug information) */ | 78 | int nvars; /* number of entries in f->locvars (-1 if no debug information) */ |
79 | int lastsetline; /* line where last SETLINE was issued */ | 79 | int lastsetline; /* line where last SETLINE was issued */ |
80 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ | 80 | expdesc upvalues[MAXUPVALUES]; /* upvalues */ |
81 | TaggedString *localvar[MAXLOCALS]; /* store local variable names */ | 81 | TString *localvar[MAXLOCALS]; /* store local variable names */ |
82 | } FuncState; | 82 | } FuncState; |
83 | 83 | ||
84 | 84 | ||
85 | TProtoFunc *luaY_parser (lua_State *L, ZIO *z); | 85 | Proto *luaY_parser (lua_State *L, ZIO *z); |
86 | 86 | ||
87 | 87 | ||
88 | #endif | 88 | #endif |