diff options
| author | ame <[email protected]> | 2024-06-13 00:01:51 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-06-13 00:01:51 -0500 |
| commit | 2999d3412ccf5c7fc1a9e84695c7a2bce69d3e82 (patch) | |
| tree | 401f11f59cbf2cee3c7ec1c58906b7c4d8105e4b /src/io.c | |
| parent | 152b605c856112b074dc7b41651424c4170fc067 (diff) | |
working on deepcopy ub
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -147,6 +147,10 @@ void i_pprint(lua_State* L, int indent, int skip_indent){ if(!skip_indent) print_indentation(indent); printf(color_yellow"(lud,%p)"color_reset, lua_topointer(L,-1)); break; + //case LUA_TNUMBER: + if(!skip_indent) print_indentation(indent); + printf(color_yellow"%i"color_reset, (int)lua_tonumber(L,-1)); + break; default: if(!skip_indent) print_indentation(indent); printf(color_yellow"%s"color_reset, lua_tostring(L,-1)); |
