--- a/jcnf/jcnf.c +++ b/jcnf/jcnf.c @@ -989,14 +989,15 @@ static jc_error jcnf_write( } } +#ifdef NEVER if (p->keys[i]->cpp_comment != NULL) { yajl_gen_cpp_comment(g, p->keys[i]->cpp_comment, strlen(p->keys[i]->cpp_comment)); } + if (p->keys[i]->c_comment != NULL) { yajl_gen_c_comment(g, p->keys[i]->c_comment, strlen(p->keys[i]->c_comment), 1); } -#ifdef NEVER yajl_gen_map_open(g); yajl_gen_string(g, "test", strlen("test")); yajl_gen_string(g, "test value", strlen("test value"));