summaryrefslogtreecommitdiff
path: root/src/luac.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2013-11-11 12:00:00 +0000
committerrepogen <>2013-11-11 12:00:00 +0000
commit357e7cdc32cd4224b03748e4f284857e47f70a68 (patch)
tree43dd992e668609554251ce6b69df4c29d560835e /src/luac.c
parentdc27609467d2699ac9252e89d632432ac5f798f2 (diff)
downloadlua-github-5.2.3.tar.gz
Diffstat (limited to 'src/luac.c')
-rw-r--r--src/luac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luac.c b/src/luac.c
index 5081836d..7409706e 100644
--- a/src/luac.c
+++ b/src/luac.c
@@ -203,7 +203,7 @@ int main(int argc, char* argv[])
}
/*
-** $Id: print.c,v 1.68 2011/09/30 10:21:20 lhf Exp $
+** $Id: print.c,v 1.69 2013/07/04 01:03:46 lhf Exp $
** print bytecodes
** See Copyright Notice in lua.h
*/
@@ -251,7 +251,7 @@ static void PrintString(const TString* ts)
static void PrintConstant(const Proto* f, int i)
{
const TValue* o=&f->k[i];
- switch (ttype(o))
+ switch (ttypenv(o))
{
case LUA_TNIL:
printf("nil");