--- src/sys/boot/ficl/softwords/jhlocal.fr 2003/11/10 06:08:34 1.3 +++ src/sys/boot/ficl/softwords/jhlocal.fr 2008/03/29 23:31:07 1.4 @@ -14,12 +14,14 @@ \ \ revised 2 June 2000 - { | a -- } now works correctly \ -\ $FreeBSD: src/sys/boot/ficl/softwords/jhlocal.fr,v 1.4 2001/04/29 02:36:36 dcs Exp $ +\ $FreeBSD: src/sys/boot/ficl/softwords/jhlocal.fr,v 1.5 2007/03/23 22:26:01 jkim Exp $ \ $DragonFly$ hide + 0 constant zero + : ?-- ( c-addr u -- c-addr u flag ) 2dup s" --" compare 0= ; : ?} ( c-addr u -- c-addr u flag ) @@ -75,23 +77,24 @@ : { parse-word ?delim dup to locstate 0= while - ?2loc if - postpone zero postpone zero (2local) - else - postpone zero (local) - endif + ?2loc if + postpone zero postpone zero (2local) + else + postpone zero (local) + endif repeat endif 0 0 (local) \ toss words until } + \ (explicitly allow | and -- in the comment) locstate 2 = if begin parse-word - ?delim dup to locstate - 0= while - 2drop + ?delim dup to locstate + 3 < while + locstate 0= if 2drop endif repeat endif