#include "lstate.h"
Go to the source code of this file.
Macros | |
#define | pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
#define | getfuncline(f, pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) |
#define | resethookcount(L) (L->hookcount = L->basehookcount) |
#define | ci_func(ci) (clLvalue((ci)->func)) |
Functions | |
LUAI_FUNC l_noret | luaG_typeerror (lua_State *L, const TValue *o, const char *opname) |
LUAI_FUNC l_noret | luaG_concaterror (lua_State *L, StkId p1, StkId p2) |
LUAI_FUNC l_noret | luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) |
LUAI_FUNC l_noret | luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) |
LUAI_FUNC l_noret | luaG_runerror (lua_State *L, const char *fmt,...) |
LUAI_FUNC l_noret | luaG_errormsg (lua_State *L) |
#define ci_func | ( | ci | ) | (clLvalue((ci)->func)) |
Definition at line 20 of file ldebug.h.
Referenced by addinfo(), currentline(), currentpc(), findlocal(), getfuncname(), getupvalname(), luaG_typeerror(), and traceexec().
Definition at line 15 of file ldebug.h.
Referenced by currentline(), PrintCode(), and traceexec().
Definition at line 13 of file ldebug.h.
Referenced by currentpc(), and traceexec().
#define resethookcount | ( | L | ) | (L->hookcount = L->basehookcount) |
Definition at line 17 of file ldebug.h.
Referenced by lua_newthread(), lua_sethook(), preinit_state(), and traceexec().
Definition at line 538 of file ldebug.cpp.
References luaG_typeerror(), and luaV_tonumber().
Referenced by luaV_arith().
Definition at line 531 of file ldebug.cpp.
References lua_assert, luaG_typeerror(), ttisnumber, and ttisstring.
Referenced by luaV_concat().
Definition at line 572 of file ldebug.cpp.
References lua_State::errfunc, LUA_ERRERR, LUA_ERRRUN, luaD_call(), luaD_throw(), restorestack, setobjs2s, lua_State::top, and ttisfunction.
Referenced by lua_error(), and luaG_runerror().
Definition at line 546 of file ldebug.cpp.
References luaG_runerror(), and objtypename.
Referenced by luaV_lessequal(), and luaV_lessthan().
Definition at line 585 of file ldebug.cpp.
References addinfo(), luaG_errormsg(), and luaO_pushvfstring().
Referenced by findindex(), lua_pushnumber(), lua_yieldk(), luaD_call(), luaD_growstack(), luaG_ordererror(), luaG_typeerror(), luaH_newkey(), luaM_growaux_(), luaM_toobig(), luaO_pushvfstring(), luaV_concat(), luaV_execute(), luaV_gettable(), luaV_settable(), and setnodevector().
Definition at line 512 of file ldebug.cpp.
References cast_int, lua_State::ci, ci_func, currentpc(), getobjname(), getupvalname(), isinstack(), isLua, CallInfo::l, LUA_QS, luaG_runerror(), objtypename, and CallInfo::u.
Referenced by luaG_aritherror(), luaG_concaterror(), luaV_gettable(), luaV_objlen(), luaV_settable(), and tryfuncTM().