From 36d36e6a3f0334e5d7025b071821bd771ee468a0 Mon Sep 17 00:00:00 2001 From: "Greg A. Woods" Date: Fri, 22 Mar 2024 16:00:07 -0700 Subject: [PATCH] src/yajl_tree.c: use actual member name in comments in callbacks init --- src/yajl_tree.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/yajl_tree.c b/src/yajl_tree.c index ce00cf8..057b98e 100644 --- a/src/yajl_tree.c +++ b/src/yajl_tree.c @@ -431,17 +431,17 @@ yajl_val yajl_tree_parse (const char *input, /*+ Pointer to a null-terminated /* pointers to parsing callbacks */ static const yajl_callbacks callbacks = { - /* null = */ handle_null, - /* boolean = */ handle_boolean, - /* integer = */ NULL, - /* double = */ NULL, - /* number = */ handle_number, - /* string = */ handle_string, - /* start map = */ handle_start_map, - /* map key = */ handle_string, - /* end map = */ handle_end_map, - /* start array = */ handle_start_array, - /* end array = */ handle_end_array + /* .yajl_null = */ handle_null, + /* .yajl_boolean = */ handle_boolean, + /* .yajl_integer = */ NULL, + /* .yajl_double = */ NULL, + /* .yajl_number = */ handle_number, + /* .yajl_string = */ handle_string, + /* .yajl_start_map = */ handle_start_map, + /* .yajl_map_key = */ handle_string, + /* .yajl_end_map = */ handle_end_map, + /* .yajl_start_array = */ handle_start_array, + /* .yajl_end_array = */ handle_end_array }; yajl_handle handle;