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 | 90a2acc2f0c9d3904e1dea737e45ef6b10f96a22 (patch) | |
| tree | 401f11f59cbf2cee3c7ec1c58906b7c4d8105e4b /src/io.c | |
| parent | 237fcfbd61a9895326538a274f025d9ed57a3903 (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)); |
