From 99bd1a000f067bd0e00f4b04db5d51f170c50ce3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 19 Mar 2012 19:58:09 -0300 Subject: [PATCH] error function can be 'l_noret' --- lundump.c | 4 ++-- 1 file 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);