From 1461e5cb871f64cdde2a646bd7627730cdcc4f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ma=C5=A1karinec?= Date: Mon, 15 Apr 2024 21:07:05 +0100 Subject: [PATCH] Fix space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Maškarinec --- json.um | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.um b/json.um index 75ab1ea..942f167 100644 --- a/json.um +++ b/json.um @@ -87,7 +87,7 @@ fn (l: ^lexer) lex_space(): str { out := "" l.pos-- c := l.get() - for c != ' ' && c != '}' && c != ']' && c != '\n' && c != ',' && c != '\t' { + for c != ' ' && c != '}' && c != ']' && c != '\n' && c != '\r' && c != ',' && c != '\t' { out += c c = l.get() } -- 2.45.2