Refactoring: Rewrite litem() to use get_int() instead of get_integer().
This is more direct and requires less code.
Authored by: david_costanzo 2026-05-31
Parent: [r6251]
Child: [r6253]