# HG changeset patch # User Rik # Date 1438726068 25200 # Node ID 58b02a8d0fe9ed7eb3028e02b542b5ee1c248a03 # Parent 4262598620ae6879382db30bb7b277bd27f26ccf Report backtrace for "no default value" error in function header (bug #45496). * pt-misc.cc (define_from_arg_vec): Remove "\n" from error() string so that backtrace is not suppressed. Call bare error() rather than ::error(). diff --git a/libinterp/parse-tree/pt-misc.cc b/libinterp/parse-tree/pt-misc.cc --- a/libinterp/parse-tree/pt-misc.cc +++ b/libinterp/parse-tree/pt-misc.cc @@ -200,7 +200,7 @@ { if (! elt->eval ()) { - ::error ("no default value for argument %d\n", i+1); + error ("no default value for argument %d", i+1); return; } }