diff libinterp/corefcn/toplev.h @ 20546:9502e0142c19

Simplify error output if max_recursion_depth is exceeded (Bug #45843). * error.cc (pr_where): Call unique on std::list frames. * toplev.h (operator==): Declare equality operator for octave_call_stack::stack_frame. * toplev.cc (operator==): Implement equality operator for octave_call_stack::stack_frame.
author Stefan Miereis <stefan.miereis@gmx.de>
date Sat, 05 Sep 2015 01:02:27 +0200
parents 7ac907da9fba
children b70cc4bd8109
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.h	Wed Sep 23 15:31:34 2015 +0200
+++ b/libinterp/corefcn/toplev.h	Sat Sep 05 01:02:27 2015 +0200
@@ -107,6 +107,8 @@
 
     std::string fcn_name (bool print_subfn = true) const;
 
+    bool operator== (const stack_frame &rhs) const;
+
   private:
 
     octave_function *m_fcn;