aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index cd728947..ad40801e 100644
--- a/ltests.c
+++ b/ltests.c
@@ -822,7 +822,7 @@ static int listlocals (lua_State *L) {
822 822
823 823
824 824
825static void printstack (lua_State *L) { 825void lua_printstack (lua_State *L) {
826 int i; 826 int i;
827 int n = lua_gettop(L); 827 int n = lua_gettop(L);
828 printf("stack: >>\n"); 828 printf("stack: >>\n");
@@ -1652,7 +1652,7 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) {
1652 printf("%s\n", luaL_tolstring(L1, n, NULL)); 1652 printf("%s\n", luaL_tolstring(L1, n, NULL));
1653 lua_pop(L1, 1); 1653 lua_pop(L1, 1);
1654 } 1654 }
1655 else printstack(L1); 1655 else lua_printstack(L1);
1656 } 1656 }
1657 else if EQ("print") { 1657 else if EQ("print") {
1658 const char *msg = getstring; 1658 const char *msg = getstring;