diff options
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.132 2013/04/25 19:35:19 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.133 2013/04/26 13:07:53 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,6 +1632,7 @@ Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, | |||
1632 | incr_top(L); | 1632 | incr_top(L); |
1633 | funcstate.f = cl->l.p = luaF_newproto(L); | 1633 | funcstate.f = cl->l.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 | lexstate.buff = buff; | 1636 | lexstate.buff = buff; |
1636 | lexstate.dyd = dyd; | 1637 | lexstate.dyd = dyd; |
1637 | dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; | 1638 | dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; |