Fix include/import namespace confusion

This commit is contained in:
Muh Muhten authored and Nico Williams committed 2019-01-30 09:47:24 -06:00
1 parent 63ba2b1637
commit 12a628abdc
1 file changed
+1 -1
+1 -1
View File
@@ -233,9 +233,9 @@ static int process_dependencies(jq_state *jq, jv jq_origin, jv lib_origin, block
jv deps = block_take_imports(src_block);
block bk = *src_block;
int nerrors = 0;
const char *as_str = NULL;
jv_array_foreach(deps, i, dep) {
const char *as_str = NULL;
int is_data = jv_get_kind(jv_object_get(jv_copy(dep), jv_string("is_data"))) == JV_KIND_TRUE;
int raw = 0;
jv v = jv_object_get(jv_copy(dep), jv_string("raw"));