function luaY.localstat(w,b)local H=0 local V local P={}repeat w:new_localvar(b,w:str_checkname(b),H)H=H+1 until not w:testnext(b,"\044")if w:testnext(b,"\061")then V=w:explist1(b,P)else P.k="\086\086\079\073\068"V=0 end w:adjust_assign(b,H,V,P)w:adjustlocalvars(b,H)end

function luaY:localstat(ls)
  -- stat -> LOCAL NAME {',' NAME} ['=' explist1]
  local nvars = 0
  local nexps
  local e = {}  -- expdesc
  repeat
    self:new_localvar(ls, self:str_checkname(ls), nvars)
    nvars = nvars + 1
  until not self:testnext(ls, ",")
  if self:testnext(ls, "=") then
    nexps = self:explist1(ls, e)
  else
    e.k = "VVOID"
    nexps = 0
  end
  self:adjust_assign(ls, nvars, nexps, e)
  self:adjustlocalvars(ls, nvars)
end
