From 6480e735998a1dc738d8babc86af154babb3843c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Mar 2018 13:26:01 -0300 Subject: details (avoid using non-C89 '//' comment) --- ldo.c | 3 +-- ljumptab.h | 11 ++++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ldo.c b/ldo.c index 4126f47b..20f36450 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 2.197 2018/02/26 14:16:05 roberto Exp roberto $ +** $Id: ldo.c,v 2.198 2018/03/05 14:13:55 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -687,7 +687,6 @@ LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs, : cast_int(L->top - (L->ci->func + 1)); L->nny = oldnny; /* restore 'nny' */ L->nCcalls--; - // lua_assert(L->nCcalls == ((from) ? from->nCcalls : 0)); lua_unlock(L); return status; } diff --git a/ljumptab.h b/ljumptab.h index f9783ffb..373d541c 100644 --- a/ljumptab.h +++ b/ljumptab.h @@ -11,11 +11,12 @@ static void *disptab[] = { -// you can update the following list with this command: -// -// sed -n '/^OP_/\!d; s/OP_/\&\&L_OP_/ ; s/,.*/,/ ; s/\/.*// ; p' lopcodes.h -// -// +#if 0 +** you can update the following list with this command: +** +** sed -n '/^OP_/\!d; s/OP_/\&\&L_OP_/ ; s/,.*/,/ ; s/\/.*// ; p' lopcodes.h +** +#endif &&L_OP_MOVE, &&L_OP_LOADI, -- cgit v1.2.3-55-g6feb