diff options
Diffstat (limited to 'src/lj_err.c')
-rw-r--r-- | src/lj_err.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_err.c b/src/lj_err.c index 4a33a233..e0fb7167 100644 --- a/src/lj_err.c +++ b/src/lj_err.c | |||
@@ -587,7 +587,7 @@ LJ_NOINLINE void lj_err_lex(lua_State *L, GCstr *src, const char *tok, | |||
587 | { | 587 | { |
588 | char buff[LUA_IDSIZE]; | 588 | char buff[LUA_IDSIZE]; |
589 | const char *msg; | 589 | const char *msg; |
590 | lj_debug_shortname(buff, src); | 590 | lj_debug_shortname(buff, src, line); |
591 | msg = lj_str_pushvf(L, err2msg(em), argp); | 591 | msg = lj_str_pushvf(L, err2msg(em), argp); |
592 | msg = lj_str_pushf(L, "%s:%d: %s", buff, line, msg); | 592 | msg = lj_str_pushf(L, "%s:%d: %s", buff, line, msg); |
593 | if (tok) | 593 | if (tok) |