summaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-03-19 19:58:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-03-19 19:58:09 -0300
commit99bd1a000f067bd0e00f4b04db5d51f170c50ce3 (patch)
treef9a330df0d6d9175c46f11faeff34c79e5915486 /lundump.c
parent3e66d3b4bebe58a7acaa232b8f3e89f9d3131a96 (diff)
downloadlua-github-99bd1a000f067bd0e00f4b04db5d51f170c50ce3.tar.gz
error function can be 'l_noret'
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index 0c146272..35eba879 100644
--- a/lundump.c
+++ b/lundump.c
@@ -1,5 +1,5 @@
/*
-** $Id: lundump.c,v 2.19 2011/12/07 18:03:47 roberto Exp roberto $
+** $Id: lundump.c,v 2.20 2012/01/23 23:02:10 roberto Exp roberto $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -27,7 +27,7 @@ typedef struct {
const char* name;
} LoadState;
-static void error(LoadState* S, const char* why)
+static l_noret error(LoadState* S, const char* why)
{
luaO_pushfstring(S->L,"%s: %s precompiled chunk",S->name,why);
luaD_throw(S->L,LUA_ERRSYNTAX);