Skip to content

Commit d205f3a

Browse files
committed
Bug: Lua source should not use C99 comments ("//")
1 parent 47cffdc commit d205f3a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lvm.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,8 +1156,10 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
11561156
Instruction i; /* instruction being executed */
11571157
StkId ra; /* instruction's A register */
11581158
vmfetch();
1159-
// low-level line tracing for debugging Lua
1160-
// printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p)));
1159+
#if 0
1160+
/* low-level line tracing for debugging Lua */
1161+
printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p)));
1162+
#endif
11611163
lua_assert(base == ci->func + 1);
11621164
lua_assert(base <= L->top && L->top < L->stack_last);
11631165
/* invalidate top for instructions not expecting it */

0 commit comments

Comments
 (0)