Mercurial > octave
comparison libinterp/parse-tree/pt.cc @ 29956:a956ca6698d2
move some error handling functions inside octave namespace
* error.h, error.cc (defun_usage_message, set_warning_state,
warning_enabled, disable_warning, interpreter_try):
Move functions inside octave namespace. Deprecated global function
names. Change uses as needed.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 14 Aug 2021 16:27:53 -0400 |
parents | 7854d5752dd2 |
children | 796f54d4ddbf |
comparison
equal
deleted
inserted
replaced
29955:693329e53f25 | 29956:a956ca6698d2 |
---|---|
70 { | 70 { |
71 int parse_status = 0; | 71 int parse_status = 0; |
72 | 72 |
73 unwind_protect frame; | 73 unwind_protect frame; |
74 | 74 |
75 interpreter_try (frame); | 75 octave::interpreter_try (frame); |
76 | 76 |
77 retval = true; // default to stopping if any error | 77 retval = true; // default to stopping if any error |
78 try | 78 try |
79 { | 79 { |
80 octave_value_list val | 80 octave_value_list val |