From 7c25292fc7c1f7e83989182540328befb290dfa6 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Fri, 4 Jun 2021 21:07:18 +1000 Subject: [PATCH] fix terminating NUL on the captured string --- stdio.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio.asm b/stdio.asm index 191e098..3f69cd3 100644 --- a/stdio.asm +++ b/stdio.asm @@ -234,9 +234,9 @@ p_double_quote_loop: jmp p_double_quote_loop p_double_quote_endquote: p_double_quote_endstream: + mov qword [rdi],0 lea rdi,[p_pad_DFA] add rdi,qword [rsp] - stosb ;; copy PAD string into new temp object inc qword [rsp] DOFORTH p_str2temp -- 2.39.2