[gforth] / gforth / exboot.fs  

gforth: gforth/exboot.fs


1 : anton 1.8 \ include except.fs and restart Gforth. Gforth is restarted to create
2 :     \ an exception frame for the exception handler.
3 : anton 1.1
4 : anton 1.10 \ Copyright (C) 2000,2001,2003,2004 Free Software Foundation, Inc.
5 : anton 1.1
6 :     \ This file is part of Gforth.
7 :    
8 :     \ Gforth is free software; you can redistribute it and/or
9 :     \ modify it under the terms of the GNU General Public License
10 : anton 1.11 \ as published by the Free Software Foundation, either version 3
11 : anton 1.1 \ of the License, or (at your option) any later version.
12 :    
13 :     \ This program is distributed in the hope that it will be useful,
14 :     \ but WITHOUT ANY WARRANTY; without even the implied warranty of
15 :     \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 :     \ GNU General Public License for more details.
17 :    
18 :     \ You should have received a copy of the GNU General Public License
19 : anton 1.11 \ along with this program. If not, see http://www.gnu.org/licenses/.
20 : anton 1.1
21 : pazsan 1.2 require except.fs
22 : anton 1.1
23 : anton 1.3 \ the following line would be necessary to get exceptions.fs and
24 :     \ exboot.fs into the included-files. We would then have to ensure
25 :     \ that image-included-files is reset to the previous state after
26 :     \ booting (by doing "-2 image-included-files +!"), in order to treat
27 :     \ the names correctly on SAVESYSTEM.
28 :    
29 :     \ included-files 2@ image-included-files 2!
30 :    
31 :     \ now boot
32 : anton 1.9
33 :     pathstring 2@ argv @ argc @
34 :     [defined] next-arg 0= [if]
35 :     \ for compatibility with old versions
36 :     swap cell+ swap 1-
37 :     [endif]
38 :     boot
39 :    

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help