function luaY.funcname(L,J,v)local Y=false L:singlevar(J,v)while J.t.token=="\046"do L:field(J,v)end if J.t.token=="\058"then Y=true L:field(J,v)end return Y end
------------------------------------------------------------------------
-- parse a function name specification
-- * used in funcstat()
------------------------------------------------------------------------
function luaY:funcname(ls, v)
	-- funcname -> NAME {field} [':' NAME]
	local needself = false
	self:singlevar(ls, v)
	while ls.t.token == "." do
		self:field(ls, v)
	end
	if ls.t.token == ":" then
		needself = true
		self:field(ls, v)
	end
	return needself
end
