mirror of
https://github.com/russolsen/rforth
synced 2024-12-25 09:58:16 +01:00
Changed . to not print a newline, which is what it (doesnt) do in forth
This commit is contained in:
parent
f11b1c5438
commit
834406e9c1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class RForth
|
|||
b = @stack.pop
|
||||
@stack << b / a
|
||||
end
|
||||
d.word('.') { @s_out.print( "#{@stack.pop}\n" ) }
|
||||
d.word('.') { @s_out.print( @stack.pop ) }
|
||||
d.word('.S') { @s_out.print( "#{@stack}\n" ) }
|
||||
d.word('.D') { pp @dictionary }
|
||||
d.word('cr') { @s_out.puts }
|
||||
|
|
Loading…
Reference in a new issue