From a28fa5aba9281c3346364142a2133c17109e6c31 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 10 Aug 2021 17:14:11 +1000 Subject: Don't try to dump things me don't handle the type of. --- src/sledjchisl/sledjchisl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sledjchisl/sledjchisl.c') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 212b30b..cda4c57 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -703,7 +703,7 @@ void dumpLuaTree(qtreetbl_t *tree, char *name, int depth) case LUA_TNUMBER : {fprintf(stderr, "%*s[%s] = %f,\n", (depth + 1) * 2, "", obj0.name, q0->v.f); break;} case LUA_TSTRING : {fprintf(stderr, "%*s[%s] = %s,\n", (depth + 1) * 2, "", obj0.name, q0->v.s); break;} case LUA_TTABLE : {dumpLuaTree(q0->v.t, obj0.name, depth + 1); break;} - default : {fprintf(stderr, "%*s[%s] ? %s,\n", (depth + 1) * 2, "", obj0.name, q0->v.s); break;} + default : {fprintf(stderr, "%*s[%s] ? ??,\n", (depth + 1) * 2, "", obj0.name); break;} } } tree->unlock(tree); -- cgit v1.1