Fix broken LIT"
This commit is contained in:
parent
8bb9230f49
commit
ebf47a2ab5
2
blk/382
2
blk/382
@ -3,7 +3,7 @@
|
|||||||
C< DUP 34 ( ASCII " ) = IF DROP EXIT THEN C,
|
C< DUP 34 ( ASCII " ) = IF DROP EXIT THEN C,
|
||||||
AGAIN ;
|
AGAIN ;
|
||||||
: LIT"
|
: LIT"
|
||||||
COMPILE (s) H@ 0 C, ,"
|
0x2b ( (s) ) , H@ 0 C, ,"
|
||||||
DUP H@ -^ 1- ( a len ) SWAP C!
|
DUP H@ -^ 1- ( a len ) SWAP C!
|
||||||
; IMMEDIATE
|
; IMMEDIATE
|
||||||
: ." [COMPILE] LIT" COMPILE (print) ; IMMEDIATE
|
: ." [COMPILE] LIT" COMPILE (print) ; IMMEDIATE
|
||||||
|
BIN
cvm/forth.bin
BIN
cvm/forth.bin
Binary file not shown.
Loading…
Reference in New Issue
Block a user