function luaY.test_then_block(j,w)luaX:next(w)local A=j:cond(w)j:checknext(w,"\084\075\095\084\072\069\078")j:block(w)return A end

function luaY:test_then_block(ls)
  -- test_then_block -> [IF | ELSEIF] cond THEN block
  luaX:next(ls)  -- skip IF or ELSEIF
  local condexit = self:cond(ls)
  self:checknext(ls, "TK_THEN")
  self:block(ls)  -- `then' part
  return condexit
end
