]> granicus.if.org Git - jq/commitdiff
Fix name of builtins in the builtins/0 output
authorWilliam Langford <wlangfor@gmail.com>
Mon, 27 Feb 2017 00:50:10 +0000 (19:50 -0500)
committerWilliam Langford <wlangfor@gmail.com>
Mon, 27 Feb 2017 00:50:10 +0000 (19:50 -0500)
src/builtin.c

index 7b2c5d24573e42565981d374ea1b7ef43e0913da..b5140539d5984decf1c982751cb73838a630bb04 100644 (file)
@@ -1578,7 +1578,7 @@ static const char* const jq_builtins =
 
 
 static block gen_builtin_list(block builtins) {
-  jv list = jv_array_append(block_list_funcs(builtins, 1), jv_string("builtins"));
+  jv list = jv_array_append(block_list_funcs(builtins, 1), jv_string("builtins/0"));
   return BLOCK(builtins, gen_function("builtins", gen_noop(), gen_const(list)));
 }