diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-04-10 10:19:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-04-10 10:19:21 -0300 |
commit | d205f3a4847bc8b835fda91f51ba1cf45b796baf (patch) | |
tree | f67f289e1e57b968e57990d757bc81879106dec9 | |
parent | 47cffdc723c2e0c6dfaf62b7775ca1c1d338c0a4 (diff) | |
download | lua-d205f3a4847bc8b835fda91f51ba1cf45b796baf.tar.gz lua-d205f3a4847bc8b835fda91f51ba1cf45b796baf.tar.bz2 lua-d205f3a4847bc8b835fda91f51ba1cf45b796baf.zip |
Bug: Lua source should not use C99 comments ("//")
-rw-r--r-- | lvm.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1156,8 +1156,10 @@ void luaV_execute (lua_State *L, CallInfo *ci) { | |||
1156 | Instruction i; /* instruction being executed */ | 1156 | Instruction i; /* instruction being executed */ |
1157 | StkId ra; /* instruction's A register */ | 1157 | StkId ra; /* instruction's A register */ |
1158 | vmfetch(); | 1158 | vmfetch(); |
1159 | // low-level line tracing for debugging Lua | 1159 | #if 0 |
1160 | // printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p))); | 1160 | /* low-level line tracing for debugging Lua */ |
1161 | printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p))); | ||
1162 | #endif | ||
1161 | lua_assert(base == ci->func + 1); | 1163 | lua_assert(base == ci->func + 1); |
1162 | lua_assert(base <= L->top && L->top < L->stack_last); | 1164 | lua_assert(base <= L->top && L->top < L->stack_last); |
1163 | /* invalidate top for instructions not expecting it */ | 1165 | /* invalidate top for instructions not expecting it */ |