From 12a628abdc8d18afc8608f65cca47f5af66329a3 Mon Sep 17 00:00:00 2001 From: Muh Muhten Date: Thu, 12 Oct 2017 14:46:31 -0400 Subject: [PATCH] Fix include/import namespace confusion --- src/linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linker.c b/src/linker.c index 1b9d62c..365480b 100644 --- a/src/linker.c +++ b/src/linker.c @@ -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")); -- 2.40.0