all repos — hex @ ff244b140f9690bbb4dcaa293569887dbb7cc9ce

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Merge branch 'hashtable' of github.com:h3rald/hex into hashtable
h3rald h3rald@h3rald.com
Tue, 31 Dec 2024 20:59:04 +0000
commit

ff244b140f9690bbb4dcaa293569887dbb7cc9ce

parent

ea937c9fb4d46eee3fb6fba3820640ec90f988e7

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/stack.csrc/stack.c

@@ -9,7 +9,7 @@

// Free a token void hex_free_token(hex_token_t *token) { - if (token == NULL) + if (token == NULL || token->value == NULL) return; free(token->value); token->value = NULL;

@@ -243,7 +243,7 @@ {

if (item == NULL) return; - hex_debug_item(ctx, "FREE", item); + hex_debug(ctx, "FREE: %s", hex_type(item->type)); switch (item->type) {