more uses of 'l_noret'

This commit is contained in:
Roberto Ierusalimschy
2011-11-30 10:43:51 -02:00
parent e21b26a964
commit 6d8b672094
4 changed files with 14 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.c,v 2.86 2011/09/13 18:05:59 roberto Exp roberto $
** $Id: ldebug.c,v 2.87 2011/10/07 20:45:19 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -494,7 +494,7 @@ static const char *getupvalname (CallInfo *ci, const TValue *o,
}
void luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
CallInfo *ci = L->ci;
const char *name = NULL;
const char *t = objtypename(o);
@@ -513,7 +513,7 @@ void luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
}
void luaG_concaterror (lua_State *L, StkId p1, StkId p2) {
l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) {
if (ttisstring(p1) || ttisnumber(p1)) p1 = p2;
lua_assert(!ttisstring(p1) && !ttisnumber(p2));
luaG_typeerror(L, p1, "concatenate");