From 9b38a696d5ccd6dd98685a74e8762a69e8722840 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Apr 2002 17:07:46 -0300 Subject: avoid names that differ only in capitalization --- ldebug.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index 2fa719ee..4ee1b05f 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 1.108 2002/04/10 12:11:07 roberto Exp roberto $ +** $Id: ldebug.c,v 1.109 2002/04/22 14:40:23 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -290,13 +290,13 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) { (c >= MAXSTACK && c-MAXSTACK < pt->sizek)); break; } - case iABc: { - b = GETARG_Bc(i); + case iABx: { + b = GETARG_Bx(i); if (testOpMode(op, OpModeK)) check(b < pt->sizek); break; } - case iAsBc: { - b = GETARG_sBc(i); + case iAsBx: { + b = GETARG_sBx(i); break; } } @@ -421,8 +421,8 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int stackpos, lua_assert(pc != -1); switch (GET_OPCODE(i)) { case OP_GETGLOBAL: { - lua_assert(ttype(&p->k[GETARG_Bc(i)]) == LUA_TSTRING); - *name = svalue(&p->k[GETARG_Bc(i)]); + lua_assert(ttype(&p->k[GETARG_Bx(i)]) == LUA_TSTRING); + *name = svalue(&p->k[GETARG_Bx(i)]); return "global"; } case OP_MOVE: { -- cgit v1.2.3-55-g6feb