From ef8263f81fdde2310ebb15c9a3fe5e954d57cab5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 26 Feb 2018 11:16:05 -0300 Subject: better names for macros for tags and types. rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype --- ldump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldump.c') diff --git a/ldump.c b/ldump.c index 4d3f6435..0724aeb5 100644 --- a/ldump.c +++ b/ldump.c @@ -1,5 +1,5 @@ /* -** $Id: ldump.c,v 2.39 2017/06/27 14:21:12 roberto Exp roberto $ +** $Id: ldump.c,v 2.40 2017/11/28 11:19:07 roberto Exp roberto $ ** save precompiled Lua chunks ** See Copyright Notice in lua.h */ @@ -111,8 +111,8 @@ static void DumpConstants (const Proto *f, DumpState *D) { DumpInt(n, D); for (i = 0; i < n; i++) { const TValue *o = &f->k[i]; - DumpByte(ttype(o), D); - switch (ttype(o)) { + DumpByte(ttypetag(o), D); + switch (ttypetag(o)) { case LUA_TNIL: break; case LUA_TBOOLEAN: -- cgit v1.2.3-55-g6feb