// $Id$ //X/$functor Stream-Error (S : IndexedStream) (P : Stream-Position); $use Arithm Box StdIO; $box Error_Box; /* * Format: ... ((e.name) (s.row s.column) (e.message)) ... */ //** $func Errors = errors; //** $func Clear-Errors = ; Errors = ; Clear_Errors = ; //** $func Error stream e.message = ; //** $func Error-At t.pos e.message = ; Error stream e.message = ; //X/ ) ( <"-" 1>) (e.message))>; Error_At t.pos e.message = ; //X/ ) ( ) (e.message))>; //** $func Print-Errors = ; Print_Errors, { : e ((e.name) (s.row s.col) (e.message)) e, , $fail;; };