1 \ ** ficl/softwords/ficllocal.fr
2 \ ** stack comment style local syntax...
4 \ variables before the "--" are initialized in reverse order
5 \ from the stack. Those after the "--" are zero initialized
7 \ locstate: 0 = looking for -- or }}
10 \ $FreeBSD: src/sys/boot/ficl/softwords/ficllocal.fr,v 1.1 1999/09/29 04:43:15 dcs Exp $
11 \ $DragonFly: src/sys/boot/ficl/softwords/ficllocal.fr,v 1.2 2003/06/17 04:28:18 dillon Exp $
16 : ?-- s" --" compare 0= ;
17 : ?}} s" }}" compare 0= ;
22 0 dup locals| nLocs locstate |
25 ?dup 0= abort" Error: out of text without seeing }}"
26 2dup 2dup ?-- -rot ?}} or 0=
31 ?-- if 1 to locstate endif
48 ; immediate compile-only