diff options
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.179 2018/03/07 15:55:38 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.180 2018/04/04 14:23:41 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1709,7 +1709,7 @@ LClosure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, | |||
1709 | luaD_inctop(L); | 1709 | luaD_inctop(L); |
1710 | funcstate.f = cl->p = luaF_newproto(L); | 1710 | funcstate.f = cl->p = luaF_newproto(L); |
1711 | funcstate.f->source = luaS_new(L, name); /* create and anchor TString */ | 1711 | funcstate.f->source = luaS_new(L, name); /* create and anchor TString */ |
1712 | lua_assert(iswhite(funcstate.f)); /* do not need barrier here */ | 1712 | luaC_objbarrier(L, funcstate.f, funcstate.f->source); |
1713 | lexstate.buff = buff; | 1713 | lexstate.buff = buff; |
1714 | lexstate.dyd = dyd; | 1714 | lexstate.dyd = dyd; |
1715 | dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; | 1715 | dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; |