projects
/
rrq
/
rrqforth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5fe032
)
bug fix to use stream
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Fri, 11 Jun 2021 09:50:34 +0000
(19:50 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Fri, 11 Jun 2021 09:50:34 +0000
(19:50 +1000)
stdio.asm
patch
|
blob
|
history
diff --git
a/stdio.asm
b/stdio.asm
index e07e809d8bba5deda2d599f73c9660a1cfd04f2d..99bac9eb290532001312dcf7fb3db975de493c49 100644
(file)
--- a/
stdio.asm
+++ b/
stdio.asm
@@
-245,7
+245,7
@@
p_read_word_nomore:
next
p_read_word_skipline:
- DOFORTH p_
dup
, p_read_stream_char
+ DOFORTH p_
Rget
, p_read_stream_char
pop rbx
cmp bl,0
jl p_read_word_nomore
@@
-278,7
+278,7
@@
p_double_quote_endstream:
lea rdi,[p_pad_DFA]
add rdi,qword [rsp]
mov byte [rdi],0
- ;; copy PAD string into new temp object
+ ;; copy PAD string
+ NUL
into new temp object
inc qword [rsp]
DOFORTH p_str2temp
dec qword [rsp]