Mercurial > hg > octave-lyh
diff src/error.h @ 1489:3e705c864019
[project @ 1995-09-28 05:38:26 by jwe]
author | jwe |
---|---|
date | Thu, 28 Sep 1995 05:38:26 +0000 |
parents | fb6f8b634333 |
children | e62277bf5fe0 |
line wrap: on
line diff
--- a/src/error.h +++ b/src/error.h @@ -24,6 +24,8 @@ #if !defined (octave_error_h) #define octave_error_h 1 +class ostrstream; + #define panic_impossible() \ panic ("impossible state reached in file `%s' at line %d", \ __FILE__, __LINE__) @@ -38,8 +40,13 @@ // Current error state. extern int error_state; -// XXX FIXME XXX -extern int suppress_octave_error_messages; +// Tell the error handler whether to print messages, or just store +// them for later. Used for handling errors in eval() and +// the `unwind_protect' statement. +extern int buffer_error_messages; + +// The message buffer +extern ostrstream *error_message_buffer; #endif