Explorar o código

error function can be 'l_noret'

Roberto Ierusalimschy %!s(int64=13) %!d(string=hai) anos
pai
achega
99bd1a000f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lundump.c

+ 2 - 2
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);