comparison src/error.cc @ 914:6a10b90623ea

[project @ 1994-11-10 21:53:10 by jwe]
author jwe
date Thu, 10 Nov 1994 21:53:10 +0000
parents 0f3237aa35b7
children 46a2983cb297
comparison
equal deleted inserted replaced
913:8721da8de84f 914:6a10b90623ea
42 int suppress_octave_error_messages = 0; 42 int suppress_octave_error_messages = 0;
43 43
44 static void 44 static void
45 verror (const char *name, const char *fmt, va_list args) 45 verror (const char *name, const char *fmt, va_list args)
46 { 46 {
47 flush_output_to_pager ();
48
47 if (name) 49 if (name)
48 cerr << name << ": "; 50 cerr << name << ": ";
49 cerr.vform (fmt, args); 51 cerr.vform (fmt, args);
50 cerr << endl; 52 cerr << endl;
51 53
100 if (! error_state) 102 if (! error_state)
101 error_state = 1; 103 error_state = 1;
102 104
103 if (suppress_octave_error_messages) 105 if (suppress_octave_error_messages)
104 return; 106 return;
105
106 flush_output_to_pager ();
107 107
108 va_list args; 108 va_list args;
109 va_start (args, fmt); 109 va_start (args, fmt);
110 110
111 int len = 0; 111 int len = 0;