mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
swap over == tuck
This commit is contained in:
parent
691c02e23b
commit
8c7c3f42ee
2 changed files with 3 additions and 3 deletions
|
@ -1893,7 +1893,7 @@ variable inputstreams
|
|||
|
||||
: push-inputstream ( file -- )
|
||||
inputstream% %allot \ addr
|
||||
swap over input>file !
|
||||
tuck input>file !
|
||||
0 over input>lineno !
|
||||
inputstreams @ over input>next !
|
||||
inputstreams !
|
||||
|
|
|
@ -28,8 +28,8 @@ s" Index out of range" exception constant OUT-OF-RANGE export
|
|||
array% %allocate throw
|
||||
( n capa addr )
|
||||
over cells allocate throw over array>buf !
|
||||
swap over array>capa !
|
||||
swap over array>size !
|
||||
tuck array>capa !
|
||||
tuck array>size !
|
||||
;
|
||||
|
||||
: make-array ( n -- arr )
|
||||
|
|
Loading…
Reference in a new issue