1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +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; Janet ref;
JanetTable *entry_table; JanetTable *entry_table;
Janet entry = janet_table_get(env, janet_wrap_symbol(sym)); Janet entry = janet_table_get(env, janet_wrap_symbol(sym));
JanetBinding binding = {}; JanetBinding binding = {
binding.type = JANET_BINDING_NONE; JANET_BINDING_NONE,
binding.value = janet_wrap_nil(); janet_wrap_nil(),
binding.deprecation = JANET_BINDING_DEP_NONE; JANET_BINDING_DEP_NONE
};
/* Check environment for entry */ /* Check environment for entry */
if (!janet_checktype(entry, JANET_TABLE)) if (!janet_checktype(entry, JANET_TABLE))