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-github-99bd1a000f067bd0e00f4b04db5d51f170c50ce3.tar.gz |
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 @@ /* -** $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); |