diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-03-19 19:58:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-03-19 19:58:09 -0300 |
commit | 99bd1a000f067bd0e00f4b04db5d51f170c50ce3 (patch) | |
tree | f9a330df0d6d9175c46f11faeff34c79e5915486 /lundump.c | |
parent | 3e66d3b4bebe58a7acaa232b8f3e89f9d3131a96 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
30 | static void error(LoadState* S, const char* why) | 30 | static 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); |