aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2025-12-23 14:44:06 -0300
committerRoberto I <roberto@inf.puc-rio.br>2025-12-23 14:44:06 -0300
commit578ae5745cecee56d48795cd4ae1eaf13618715c (patch)
tree3c140dfd5e215fa162d440da480e0aa66cbb05c3 /lgc.c
parenta5522f06d2679b8f18534fd6a9968f7eb539dc31 (diff)
downloadlua-578ae5745cecee56d48795cd4ae1eaf13618715c.tar.gz
lua-578ae5745cecee56d48795cd4ae1eaf13618715c.tar.bz2
lua-578ae5745cecee56d48795cd4ae1eaf13618715c.zip
Details
typo in comment + formatting + logical 'and' was written as a bitwise operation (makes code more fragile)
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index c64d74b8..f1d9a7ce 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1672,7 +1672,7 @@ static l_mem singlestep (lua_State *L, int fast) {
1672 GCTM(L); /* call one finalizer */ 1672 GCTM(L); /* call one finalizer */
1673 stepresult = CWUFIN; 1673 stepresult = CWUFIN;
1674 } 1674 }
1675 else { /* no more finalizers or emergency mode or no enough stack 1675 else { /* no more finalizers or emergency mode or not enough stack
1676 to run finalizers */ 1676 to run finalizers */
1677 g->gcstate = GCSpause; /* finish collection */ 1677 g->gcstate = GCSpause; /* finish collection */
1678 stepresult = step2pause; 1678 stepresult = step2pause;