diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
commit | 64eecc0b8219cc3bcaa2b717826a4376c60d9305 (patch) | |
tree | a1633501cdf21016a00bd555c475daea58ec24f5 /ltests.c | |
parent | 8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (diff) | |
download | lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.gz lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.bz2 lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.zip |
new macro LUA_API
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.49 2000/10/05 13:00:17 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.50 2000/10/06 19:29:26 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -72,7 +72,7 @@ static int pushop (lua_State *L, Proto *p, int pc) { | |||
72 | sprintf(buff, "%5d - ", luaG_getline(p->lineinfo, pc, 1, NULL)); | 72 | sprintf(buff, "%5d - ", luaG_getline(p->lineinfo, pc, 1, NULL)); |
73 | switch ((enum Mode)luaK_opproperties[o].mode) { | 73 | switch ((enum Mode)luaK_opproperties[o].mode) { |
74 | case iO: | 74 | case iO: |
75 | sprintf(buff+8, "%s", name); | 75 | sprintf(buff+8, "%-12s", name); |
76 | break; | 76 | break; |
77 | case iU: | 77 | case iU: |
78 | sprintf(buff+8, "%-12s%4u", name, GETARG_U(i)); | 78 | sprintf(buff+8, "%-12s%4u", name, GETARG_U(i)); |