Implement the 'keywords' lua module

This commit is contained in:
2025-01-20 21:11:59 -05:00
parent 2d531b28b3
commit 485caee05d
3 changed files with 136 additions and 9 deletions

View File

@@ -173,6 +173,8 @@ public:
tabify(level + 1);
if (LS.isstring(key) && sv::is_lua_id(LS.ckstring(key))) {
(*output_) << LS.ckstring(key);
} else if (LS.istoken(key)) {
atomic_print(LUA_TLIGHTUSERDATA, key, false);
} else {
(*output_) << "[";
pprint_r(level + 1, false, key);