aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-16 11:51:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-16 11:51:16 -0300
commit2d8d5c74b5ef3d333314feede0165df7c3d13811 (patch)
tree320305677dc890ec28cc6720810967f07a20d358 /ldo.c
parent3cdd49c94a8feed94853ba3a6adaa556fb34fd8d (diff)
downloadlua-2d8d5c74b5ef3d333314feede0165df7c3d13811.tar.gz
lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.tar.bz2
lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.zip
Details
New year (2024->2025), typos in comments
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 009bf47a..fb9df5d3 100644
--- a/ldo.c
+++ b/ldo.c
@@ -236,7 +236,7 @@ static void correctstack (lua_State *L, StkId oldstack) {
236 236
237#else 237#else
238/* 238/*
239** Alternatively, we can use the old address after the dealocation. 239** Alternatively, we can use the old address after the deallocation.
240** That is not strict ISO C, but seems to work fine everywhere. 240** That is not strict ISO C, but seems to work fine everywhere.
241*/ 241*/
242 242
@@ -485,7 +485,7 @@ static unsigned tryfuncTM (lua_State *L, StkId func, unsigned status) {
485} 485}
486 486
487 487
488/* Generic case for 'moveresult */ 488/* Generic case for 'moveresult' */
489l_sinline void genmoveresults (lua_State *L, StkId res, int nres, 489l_sinline void genmoveresults (lua_State *L, StkId res, int nres,
490 int wanted) { 490 int wanted) {
491 StkId firstresult = L->top.p - nres; /* index of first result */ 491 StkId firstresult = L->top.p - nres; /* index of first result */