all repos — hex @ d740131a75ab965589fe33a2f1ad7ba51fe65edd

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

Fixes.
h3rald h3rald@h3rald.com
Fri, 22 Nov 2024 11:46:53 +0100
commit

d740131a75ab965589fe33a2f1ad7ba51fe65edd

parent

d3f3625a21c74f3eb771397dcf22a6edebfb7e51

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

jump to
M hex.chex.c

@@ -903,7 +903,7 @@ case HEX_TYPE_INTEGER:

fprintf(stream, "0x%x", element.data.intValue); break; case HEX_TYPE_STRING: - fprintf(stream, element.data.strValue); + fprintf(stream, "%s", element.data.strValue); break; case HEX_TYPE_USER_SYMBOL: case HEX_TYPE_NATIVE_SYMBOL:

@@ -3160,7 +3160,7 @@ }

} HEX_ERRORS = 1; - if (HEX_ERROR != "") + if (strcmp(HEX_ERROR, "")) { for (size_t i = 0; i < catchBlock.quotationSize; i++) {