all repos — hex @ 1d6ca69e0ccfc5eff2c44c460b8c834db1a61e3e

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

Fixes
h3rald h3rald@h3rald.com
Thu, 02 Jan 2025 21:46:38 +0100
commit

1d6ca69e0ccfc5eff2c44c460b8c834db1a61e3e

parent

a144510abed80d544a8abcf397d195d26da0ac96

1 files changed, 7 insertions(+), 0 deletions(-)

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

@@ -346,6 +346,13 @@ break;

case '\"': *dst++ = '\"'; break; + case '\\': + *dst++ = '\\'; + if (*(src + 2)) + { + *dst++ = *(src + 2); + src++; + } default: *dst++ = '\\'; *dst++ = *src;