From: Heng Li Date: Sun, 30 Nov 2014 00:00:53 +0000 (-0500) Subject: fixed an error in the example (due to prev rev) X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=f2282bbec4d7f21644db77c0f5e2cb2cab955fa9;p=klib.git fixed an error in the example (due to prev rev) --- diff --git a/kson.c b/kson.c index e0e61cf..9546853 100644 --- a/kson.c +++ b/kson.c @@ -218,7 +218,7 @@ int main(int argc, char *argv[]) else printf("Error code: %d\n", error); } } else { - kson = kson_parse("{'a' : 1\n'b':[0,'isn\\'t',true],'d':[{\n}]}", &error); + kson = kson_parse("{'a' : 1,'b':[0,'isn\\'t',true],'d':[{\n}]}", &error); if (error == 0) { const kson_node_t *p = kson_query(kson, 2, "b", 1); if (p) printf("*** %s\n", p->v.str);