MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / undefgoto

Function undefgoto

third-party/lua-5.5.0/src/lparser.c:737–742  ·  view source on GitHub ↗

** generates an error for an undefined 'goto'. */

Source from the content-addressed store, hash-verified

735** generates an error for an undefined 'goto'.
736*/
737static l_noret undefgoto (LexState *ls, Labeldesc *gt) {
738 /* breaks are checked when created, cannot be undefined */
739 lua_assert(!eqstr(gt->name, ls->brkn));
740 luaK_semerror(ls, "no visible label '%s' for <goto> at line %d",
741 getstr(gt->name), gt->line);
742}
743
744
745static void leaveblock (FuncState *fs) {

Callers 1

leaveblockFunction · 0.70

Calls 1

luaK_semerrorFunction · 0.70

Tested by

no test coverage detected