Small typo in the reference manual

106 views
Skip to first unread message

Jure Bagić

unread,
Apr 19, 2026, 6:52:26 AMApr 19
to lua-l
In description of lua_resume,
After the first sentence the following 'then' => 'Then'
or maybe 'and then' and remove the dot.

--
Jure
signature.asc

Jure Bagić

unread,
Apr 19, 2026, 6:56:20 AMApr 19
to lua-l
I would personally put the whole manual lowercase for simplicity
or all uppercase to make sure user is alert when reading.

--
Jure
signature.asc

Jure Bagić

unread,
Apr 20, 2026, 5:16:55 AM (13 days ago) Apr 20
to lua-l
One more thing,
the push count in the @apii for the 'lua_stringtonumber',
> @apii{0,1,-}
should be instead,
> @apii{0,0|1,-}
as failed conversions do not push anything.

--
Jure
signature.asc

Jure Bagić

unread,
Apr 20, 2026, 8:02:26 AM (13 days ago) Apr 20
to lua-l
One more (maybe),
in the description of 'lua_yieldk',
> ...with the n results removed and...
the 'n' is not a parameter but 'nresults' is,
but maybe this is intentional because
'nresults results' sounds not so fancy.

--
Jure
signature.asc

Roberto Ierusalimschy

unread,
Apr 20, 2026, 9:51:56 AM (13 days ago) Apr 20
to lu...@googlegroups.com
Thanks for the several feedbacks.

-- Roberto

Jure Bagić

unread,
Apr 21, 2026, 4:24:18 AM (12 days ago) Apr 21
to lua-l
In the description for 'lua_getinfo',
the 'S' option also fills the 'srclen' field.

--
Jure
signature.asc
Reply all
Reply to author
Forward
0 new messages