Skip to content
Myr

Fix include/import namespace confusion

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Muh Muhten · committed by Nico Williams · parent 63ba2b1 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/linker.c+1 added-1 removed
231 unmodified lines
232static int process_dependencies(jq_state *jq, jv jq_origin, jv lib_origin, block *src_block, struct lib_loading_state *lib_state) {233 jv deps = block_take_imports(src_block);234 block bk = *src_block;235 int nerrors = 0;236 const char *as_str = NULL;236237 jv_array_foreach(deps, i, dep) {238 const char *as_str = NULL;239 int is_data = jv_get_kind(jv_object_get(jv_copy(dep), jv_string("is_data"))) == JV_KIND_TRUE;240 int raw = 0;241 jv v = jv_object_get(jv_copy(dep), jv_string("raw"));242 if (jv_get_kind(v) == JV_KIND_TRUE)
153 unmodified lines