all repos — hex @ 6d79261bf0e479f5c5db45efa52e2d33ed9b971c

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

Fixing string processing when reading files.
h3rald h3rald@h3rald.com
Thu, 19 Dec 2024 18:53:08 +0100
commit

6d79261bf0e479f5c5db45efa52e2d33ed9b971c

parent

5306ed6cedd4792b525d97a4c48e4eba4f76d3a8

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

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

@@ -1561,7 +1561,8 @@ result = 1;

} else { - result = hex_push_string(ctx, str); + hex_item_t item = {.type = HEX_TYPE_STRING, .data.str_value = str}; + result = HEX_PUSH(ctx, item); free(str); } }