aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ltests.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index f15e67b1..de353f1c 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.128 2012/05/30 16:40:29 roberto Exp $ 2** $Id: ltests.c,v 2.129 2012/05/31 20:25:42 roberto Exp $
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*/
@@ -520,6 +520,12 @@ void luaI_printcode (Proto *pt, int size) {
520 } 520 }
521 printf("-------\n"); 521 printf("-------\n");
522} 522}
523
524
525void luaI_printinst (Proto *pt, int pc) {
526 char buff[100];
527 printf("%s\n", buildop(pt, pc, buff));
528}
523#endif 529#endif
524 530
525 531