Merge from vendor branch GCC:
[dragonfly.git] / sys / boot / ficl / softwords / fileaccess.fr
1 \ #if FICL_WANT_FILE
2 \ ** 
3 \ ** File Access words for ficl
4 \ ** submitted by Larry Hastings, larry@hastings.org
5 \ **
6 \
7 \ $FreeBSD: src/sys/boot/ficl/softwords/fileaccess.fr,v 1.1 2002/04/09 17:45:27 dcs Exp $
8 \ $DragonFly: src/sys/boot/ficl/softwords/fileaccess.fr,v 1.1 2003/11/10 06:08:34 dillon Exp $
9
10 : r/o 1 ;
11 : r/w 3 ; 
12 : w/o 2 ; 
13 : bin 8 or ; 
14
15 : included
16     r/o bin open-file 0= if
17         locals| f | end-locals
18         f include-file
19         f close-file drop
20     else
21         drop
22     endif
23     ;
24
25 : include parse-word included ; immediate
26
27 \ #endif