1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Fix windows syntax issue.

This commit is contained in:
Calvin Rose 2021-05-29 20:40:26 -05:00
parent 33c000daea
commit 1f4f69a5b6

View File

@ -491,10 +491,11 @@ JanetBinding janet_resolve_ext(JanetTable *env, const uint8_t *sym) {
Janet ref;
JanetTable *entry_table;
Janet entry = janet_table_get(env, janet_wrap_symbol(sym));
JanetBinding binding = {};
binding.type = JANET_BINDING_NONE;
binding.value = janet_wrap_nil();
binding.deprecation = JANET_BINDING_DEP_NONE;
JanetBinding binding = {
JANET_BINDING_NONE,
janet_wrap_nil(),
JANET_BINDING_DEP_NONE
};
/* Check environment for entry */
if (!janet_checktype(entry, JANET_TABLE))