Fix import as $data linking

This commit is contained in:
Nicolas Williams committed 2017-12-10 23:09:35 -06:00
1 parent 79ece35981
commit b5560d8420
1 file changed
+2
+2
View File
@@ -279,6 +279,8 @@ static int process_dependencies(jq_state *jq, jv jq_origin, jv lib_origin, block
if (nerrors == 0) {
// Bind the library to the program
bk = block_bind_library(dep_def_block, bk, OP_IS_CALL_PSEUDO, as_str);
if (is_data)
bk = block_bind_library(dep_def_block, bk, OP_IS_CALL_PSEUDO, NULL);
}
}
jv_free(as);