From e001d5aea693ca1bcf1a4dfd2f900737fc0a8604 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 14 Dec 2017 12:24:02 -0200 Subject: 'VRELOCABLE' -> 'VRELOC' --- lparser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lparser.c') diff --git a/lparser.c b/lparser.c index 6155a851..a4a7e5fa 100644 --- a/lparser.c +++ b/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 2.169 2017/11/30 13:29:18 roberto Exp roberto $ +** $Id: lparser.c,v 2.170 2017/12/06 18:36:31 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -533,7 +533,7 @@ static Proto *addprototype (LexState *ls) { */ static void codeclosure (LexState *ls, expdesc *v) { FuncState *fs = ls->fs->prev; - init_exp(v, VRELOCABLE, luaK_codeABx(fs, OP_CLOSURE, 0, fs->np - 1)); + init_exp(v, VRELOC, luaK_codeABx(fs, OP_CLOSURE, 0, fs->np - 1)); luaK_exp2nextreg(fs, v); /* fix it at the last register */ } @@ -740,7 +740,7 @@ static void constructor (LexState *ls, expdesc *t) { struct ConsControl cc; cc.na = cc.nh = cc.tostore = 0; cc.t = t; - init_exp(t, VRELOCABLE, pc); + init_exp(t, VRELOC, pc); init_exp(&cc.v, VVOID, 0); /* no value (yet) */ luaK_exp2nextreg(ls->fs, t); /* fix it at stack top */ checknext(ls, '{'); -- cgit v1.2.3-55-g6feb