aboutsummaryrefslogtreecommitdiff
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-99bd1a000f067bd0e00f4b04db5d51f170c50ce3.tar.gz
lua-99bd1a000f067bd0e00f4b04db5d51f170c50ce3.tar.bz2
lua-99bd1a000f067bd0e00f4b04db5d51f170c50ce3.zip
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 @@
1/* 1/*
2** $Id: lundump.c,v 2.19 2011/12/07 18:03:47 roberto Exp roberto $ 2** $Id: lundump.c,v 2.20 2012/01/23 23:02:10 roberto Exp roberto $
3** load precompiled Lua chunks 3** load precompiled Lua chunks
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -27,7 +27,7 @@ typedef struct {
27 const char* name; 27 const char* name;
28} LoadState; 28} LoadState;
29 29
30static void error(LoadState* S, const char* why) 30static l_noret error(LoadState* S, const char* why)
31{ 31{
32 luaO_pushfstring(S->L,"%s: %s precompiled chunk",S->name,why); 32 luaO_pushfstring(S->L,"%s: %s precompiled chunk",S->name,why);
33 luaD_throw(S->L,LUA_ERRSYNTAX); 33 luaD_throw(S->L,LUA_ERRSYNTAX);