Load library from ~/.jq
This commit is contained in:
1 parent
f0b982795c
commit
6e373942e5
6 files changed
+58
-15
No files matched your search
@@ -611,8 +611,10 @@ struct bytecode* jq_compile_args(const char* str, jv args) {
|
||||
jv_free(name);
|
||||
}
|
||||
jv_free(args);
|
||||
program = builtins_bind(program);
|
||||
nerrors = block_compile(program, &locations, &bc);
|
||||
nerrors = builtins_bind(&program);
|
||||
if (nerrors == 0) {
|
||||
nerrors = block_compile(program, &locations, &bc);
|
||||
}
|
||||
}
|
||||
if (nerrors) {
|
||||
fprintf(stderr, "%d compile %s\n", nerrors, nerrors > 1 ? "errors" : "error");
|
||||
|
||||
Reference in new issue
Block a user