From a8785d355b5ef81930af52dbc58f3bbb660d1ac2 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Mon, 7 Apr 2025 09:20:45 +0200 Subject: Implement escaped newline in strings. --- src/zisp/value.zig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/zisp/value.zig') diff --git a/src/zisp/value.zig b/src/zisp/value.zig index 465cbbb..449a577 100644 --- a/src/zisp/value.zig +++ b/src/zisp/value.zig @@ -134,10 +134,9 @@ // // ==== Strings ==== // -// Another 48-bit space is used for strings of zero to six bytes. These are -// NUL-terminated if shorter than six bytes, meaning that NUL cannot appear in -// them, and they must be valid UTF-8, meaning that some other values could be -// hidden here in the future. (UTF-8 sequences cannot contain 0xFE or 0xFF.) +// Another 48-bit space is used for strings of zero to six bytes. Like runes, +// these are NUL-terminated if shorter than six bytes, meaning that NUL cannot +// appear in them, but otherwise they allow arbitrary bytes. // // ==== Small rationals ==== // -- cgit v1.2.3