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.144 2014/10/25 11:50:46 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.145 2014/11/02 19:19:04 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 | */ |
@@ -1632,7 +1632,7 @@ LClosure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, | |||
1632 | incr_top(L); | 1632 | incr_top(L); |
1633 | funcstate.f = cl->p = luaF_newproto(L); | 1633 | funcstate.f = cl->p = luaF_newproto(L); |
1634 | funcstate.f->source = luaS_new(L, name); /* create and anchor TString */ | 1634 | funcstate.f->source = luaS_new(L, name); /* create and anchor TString */ |
1635 | luaC_objbarrier(L, funcstate.f, funcstate.f->source); | 1635 | lua_assert(iswhite(funcstate.f)); /* do not need barrier here */ |
1636 | lexstate.buff = buff; | 1636 | lexstate.buff = buff; |
1637 | lexstate.dyd = dyd; | 1637 | lexstate.dyd = dyd; |
1638 | dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; | 1638 | dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; |