aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-11-30 10:43:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-11-30 10:43:51 -0200
commit6d8b67209443e03d83cb7b6306dc0ef098d0f1f8 (patch)
treee7c9e14b1529483132a714eb9c5ffeeeb2dc825b /ldebug.c
parente21b26a964774e29f24e5f6ae97808fdb5bce9d5 (diff)
downloadlua-6d8b67209443e03d83cb7b6306dc0ef098d0f1f8.tar.gz
lua-6d8b67209443e03d83cb7b6306dc0ef098d0f1f8.tar.bz2
lua-6d8b67209443e03d83cb7b6306dc0ef098d0f1f8.zip
more uses of 'l_noret'
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index 24e9aaca..e40071e9 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.86 2011/09/13 18:05:59 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.87 2011/10/07 20:45:19 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -494,7 +494,7 @@ static const char *getupvalname (CallInfo *ci, const TValue *o,
494} 494}
495 495
496 496
497void luaG_typeerror (lua_State *L, const TValue *o, const char *op) { 497l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
498 CallInfo *ci = L->ci; 498 CallInfo *ci = L->ci;
499 const char *name = NULL; 499 const char *name = NULL;
500 const char *t = objtypename(o); 500 const char *t = objtypename(o);
@@ -513,7 +513,7 @@ void luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
513} 513}
514 514
515 515
516void luaG_concaterror (lua_State *L, StkId p1, StkId p2) { 516l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) {
517 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; 517 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2;
518 lua_assert(!ttisstring(p1) && !ttisnumber(p2)); 518 lua_assert(!ttisstring(p1) && !ttisnumber(p2));
519 luaG_typeerror(L, p1, "concatenate"); 519 luaG_typeerror(L, p1, "concatenate");