aboutsummaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_err.c')
-rw-r--r--src/lj_err.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lj_err.c b/src/lj_err.c
index 0d5aa683..562697ad 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -72,13 +72,11 @@
72/* -- Error messages ------------------------------------------------------ */ 72/* -- Error messages ------------------------------------------------------ */
73 73
74/* Error message strings. */ 74/* Error message strings. */
75static const char *lj_err_allmsg = 75LJ_DATADEF const char *lj_err_allmsg =
76#define ERRDEF(name, msg) msg "\0" 76#define ERRDEF(name, msg) msg "\0"
77#include "lj_errmsg.h" 77#include "lj_errmsg.h"
78; 78;
79 79
80#define err2msg(em) (lj_err_allmsg+(int)(em))
81
82/* -- Frame and function introspection ------------------------------------ */ 80/* -- Frame and function introspection ------------------------------------ */
83 81
84static BCPos currentpc(lua_State *L, GCfunc *fn, cTValue *nextframe) 82static BCPos currentpc(lua_State *L, GCfunc *fn, cTValue *nextframe)