equal
deleted
inserted
replaced
9 |
9 |
10 |
10 |
11 #include "lstate.h" |
11 #include "lstate.h" |
12 |
12 |
13 |
13 |
14 #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
14 #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
15 |
15 |
16 #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) |
16 #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) |
17 |
17 |
18 #define resethookcount(L) (L->hookcount = L->basehookcount) |
18 #define resethookcount(L) (L->hookcount = L->basehookcount) |
19 |
19 |
20 |
20 |
21 LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, |
21 LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, |
22 const char *opname); |
22 const char *opname); |
23 LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2); |
23 LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2); |