all repos — hex @ 16e4668642941fdf0d050880291e82f50e364b8a

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

Fixes.
h3rald h3rald@h3rald.com
Fri, 03 Jan 2025 11:02:39 +0000
commit

16e4668642941fdf0d050880291e82f50e364b8a

parent

54228ad6585cc07d3a8bf7eab34b5cf4b7e2ed4f

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

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

@@ -1792,7 +1792,7 @@ else

{ hex_item_t *item = (hex_item_t *)malloc(sizeof(hex_item_t)); item->type = HEX_TYPE_STRING; - item->data.str_value = str; + item->data.str_value = hex_process_string(str); result = HEX_PUSH(ctx, item); } }

@@ -1835,7 +1835,7 @@ {

FILE *file = fopen(filename->data.str_value, "w"); if (file) { - fputs(hex_unescape_string(data->data.str_value), file); + fputs(data->data.str_value, file); fclose(file); result = 0; }