X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=forth.jl.git;a=blobdiff_plain;f=src%2Flib_7_vocab.4th;h=99900a06d89cadd2b8ee38397049cf7d42a1d19e;hp=5f13b47e2355280fa3a1d0d1f679e54f30c12c6e;hb=97b6b09881f94f55d0419d8557d2b00f816a18cb;hpb=d2a26bd72dda48f9afd02185db4659a9efd46efd diff --git a/src/lib_7_vocab.4th b/src/lib_7_vocab.4th index 5f13b47..99900a0 100644 --- a/src/lib_7_vocab.4th +++ b/src/lib_7_vocab.4th @@ -10,7 +10,7 @@ >link - DUP @ LATEST ! ( set LATEST to point to the previous word ) + DUP @ CURRENT @ VOCAB>LATEST ! ( set LATEST to point to the previous word ) ; \ Mark word as hidden @@ -70,11 +70,10 @@ vocabulary ROOT ; : PREVIOUS - #context @ 1 > if - 1 #context -! - else - CR ." Cannot empty search order stack!" - then + #context @ + 1 <= abort" Cannot empty search order stack!" + + 1 #context -! ; : ALSO