diff options
Diffstat (limited to 'src/lj_lex.c')
-rw-r--r-- | src/lj_lex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lj_lex.c b/src/lj_lex.c index 28aad901..6cb785b5 100644 --- a/src/lj_lex.c +++ b/src/lj_lex.c | |||
@@ -333,10 +333,6 @@ void lj_lex_setup(lua_State *L, LexState *ls) | |||
333 | setstrV(L, L->top++, lj_err_str(L, LJ_ERR_XBCLOAD)); | 333 | setstrV(L, L->top++, lj_err_str(L, LJ_ERR_XBCLOAD)); |
334 | lj_err_throw(L, LUA_ERRSYNTAX); | 334 | lj_err_throw(L, LUA_ERRSYNTAX); |
335 | } | 335 | } |
336 | /* This is an unanchored GCstr before it's stored in the prototype. | ||
337 | ** Do this last since next() calls the reader which may call the GC. | ||
338 | */ | ||
339 | ls->chunkname = lj_str_newz(L, ls->chunkarg); | ||
340 | } | 336 | } |
341 | 337 | ||
342 | /* Cleanup lexer state. */ | 338 | /* Cleanup lexer state. */ |