diff options
Diffstat (limited to 'src/lj_err.c')
-rw-r--r-- | src/lj_err.c | 4 |
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. */ |
75 | static const char *lj_err_allmsg = | 75 | LJ_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 | ||
84 | static BCPos currentpc(lua_State *L, GCfunc *fn, cTValue *nextframe) | 82 | static BCPos currentpc(lua_State *L, GCfunc *fn, cTValue *nextframe) |