From c78940f21a956064ac79f715af072e283538f35c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Dec 2004 18:50:25 -0200 Subject: static names do not need `luaX_' prefix --- ldebug.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index 1db6d4d0..fa88ffbd 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.9 2004/10/04 19:04:34 roberto Exp roberto $ +** $Id: ldebug.c,v 2.10 2004/10/07 17:27:00 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -284,7 +284,7 @@ static int checkArgMode (const Proto *pt, int r, enum OpArgMask mode) { } -static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) { +static Instruction symbexec (const Proto *pt, int lastpc, int reg) { int pc; int last; /* stores position of last instruction that changed `reg' */ last = pt->sizecode-1; /* points to final return (a `neutral' instruction) */ @@ -434,7 +434,7 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) { int luaG_checkcode (const Proto *pt) { - return (luaG_symbexec(pt, pt->sizecode, NO_REG) != 0); + return (symbexec(pt, pt->sizecode, NO_REG) != 0); } @@ -454,7 +454,7 @@ static const char *getobjname (CallInfo *ci, int stackpos, const char **name) { *name = luaF_getlocalname(p, stackpos+1, pc); if (*name) /* is a local? */ return "local"; - i = luaG_symbexec(p, pc, stackpos); /* try symbolic execution */ + i = symbexec(p, pc, stackpos); /* try symbolic execution */ lua_assert(pc != -1); switch (GET_OPCODE(i)) { case OP_GETGLOBAL: { -- cgit v1.2.3-55-g6feb