1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Transparent handling for CBV arguments to C functions.

C function arguments closures are inlined before the call.
This commit is contained in:
Stephen Dolan
2012-11-26 01:36:55 +00:00
parent 3e3fe51959
commit 4747f8681b
4 changed files with 46 additions and 33 deletions

View File

@@ -514,7 +514,6 @@ struct bytecode* jq_compile(const char* str) {
if (nerrors == 0) {
program = builtins_bind(program);
nerrors = block_compile(program, &locations, &bc);
block_free(program);
}
if (nerrors) {
fprintf(stderr, "%d compile %s\n", nerrors, nerrors > 1 ? "errors" : "error");