MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / error

Function error

other_src/lua/src/lundump.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#define IF(c,s) if (c) error(S,s)
35
36static void error(LoadState* S, const char* why)
37{
38 luaO_pushfstring(S->L,"%s: %s in precompiled chunk",S->name,why);
39 luaD_throw(S->L,LUA_ERRSYNTAX);
40}
41#endif
42
43#define LoadMem(S,b,n,size) LoadBlock(S,b,(n)*(size))

Callers 15

LoadConstantsFunction · 0.70
LoadFunctionFunction · 0.70
errorMethod · 0.50
verifyCinPeekMethod · 0.50
readFileMethod · 0.50
getCurrentDirectoryMethod · 0.50
getFileNamesMethod · 0.50
getFilePathsMethod · 0.50
processOptionsMethod · 0.50
removeFileMethod · 0.50
renameFileMethod · 0.50
standardizePathMethod · 0.50

Calls 2

luaO_pushfstringFunction · 0.70
luaD_throwFunction · 0.70

Tested by

no test coverage detected