comparison src/octave.cc @ 9753:892e2aa7bc75

improve error messages by auto-prepending current function name
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 22 Oct 2009 08:56:58 +0200
parents f22bbc5d56e9
children 653716f3d976
comparison
equal deleted inserted replaced
9752:51c21837686f 9753:892e2aa7bc75
550 static void 550 static void
551 lo_error_handler (const char *fmt, ...) 551 lo_error_handler (const char *fmt, ...)
552 { 552 {
553 va_list args; 553 va_list args;
554 va_start (args, fmt); 554 va_start (args, fmt);
555 verror (fmt, args); 555 verror_with_cfn (fmt, args);
556 va_end (args); 556 va_end (args);
557 557
558 octave_throw_execution_exception (); 558 octave_throw_execution_exception ();
559 } 559 }
560 560