File:  [gforth] / gforth / exboot.fs
Revision 1.8: download - view: text, annotated - select for diffs
Sun Jan 18 22:21:28 2004 UTC (15 years, 7 months ago) by anton
Branches: MAIN
CVS tags: HEAD
cleaned up exboot.fs (allowed by the SHIFT-ARGS change)

    1: \ include except.fs and restart Gforth. Gforth is restarted to create
    2: \ an exception frame for the exception handler.
    3: 
    4: \ Copyright (C) 2000,2001,2003 Free Software Foundation, Inc.
    5: 
    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: \ as published by the Free Software Foundation; either version 2
   11: \ 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: \ along with this program; if not, write to the Free Software
   20: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   21: 
   22: require except.fs
   23: 
   24: \ the following line would be necessary to get exceptions.fs and
   25: \ exboot.fs into the included-files.  We would then have to ensure
   26: \ that image-included-files is reset to the previous state after
   27: \ booting (by doing "-2 image-included-files +!"), in order to treat
   28: \ the names correctly on SAVESYSTEM.
   29: 
   30: \ included-files 2@ image-included-files 2!
   31: 
   32: \ now boot
   33: pathstring 2@ argv @ argc @ boot

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>