details (avoid using non-C89 '//' comment)

This commit is contained in:
Roberto Ierusalimschy 2018-03-07 13:26:01 -03:00
parent 4a1612ff9b
commit 6480e73599
2 changed files with 7 additions and 7 deletions

3
ldo.c
View File

@ -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 ** Stack and Call structure of Lua
** See Copyright Notice in lua.h ** 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)); : cast_int(L->top - (L->ci->func + 1));
L->nny = oldnny; /* restore 'nny' */ L->nny = oldnny; /* restore 'nny' */
L->nCcalls--; L->nCcalls--;
// lua_assert(L->nCcalls == ((from) ? from->nCcalls : 0));
lua_unlock(L); lua_unlock(L);
return status; return status;
} }

View File

@ -11,11 +11,12 @@
static void *disptab[] = { static void *disptab[] = {
// you can update the following list with this command: #if 0
// ** you can update the following list with this command:
// sed -n '/^OP_/\!d; s/OP_/\&\&L_OP_/ ; s/,.*/,/ ; s/\/.*// ; p' lopcodes.h **
// ** sed -n '/^OP_/\!d; s/OP_/\&\&L_OP_/ ; s/,.*/,/ ; s/\/.*// ; p' lopcodes.h
// **
#endif
&&L_OP_MOVE, &&L_OP_MOVE,
&&L_OP_LOADI, &&L_OP_LOADI,