--- gforth/kernel/errore.fs 1998/12/11 22:54:31 1.5 +++ gforth/kernel/errore.fs 2000/09/23 15:06:10 1.9 @@ -1,6 +1,6 @@ \ ERRORE.FS English error strings 9may93jaw -\ Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc. +\ Copyright (C) 1995,1996,1997,1998,1999 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -22,6 +22,9 @@ \ The errors are defined by a linked list, for easy adding \ and deleting. Speed is not neccassary at this point. +require ./io.fs +require ./nio.fs + AVariable ErrLink \ Linked list entry point NIL ErrLink ! @@ -44,7 +47,6 @@ has? OS [IF] : .error ( n -- ) >stderr - cr ." Error: " ErrLink BEGIN @ dup WHILE @@ -63,4 +65,4 @@ has? OS [IF] 512 + negate strerror type EXIT THEN [ [THEN] ] - . ; + ." error " dec. ;