changeset 27336:1fb234f01eea

correct function name in error message text * symtab.cc (F__get_cmdline_fcn_txt"): Make function name used in xstring_value message string match actual function name.
author John W. Eaton <jwe@octave.org>
date Fri, 09 Aug 2019 10:49:42 -0400
parents 50216d7a2f6b
children 656975e34595
files libinterp/corefcn/symtab.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.cc	Fri Aug 09 10:36:08 2019 -0400
+++ b/libinterp/corefcn/symtab.cc	Fri Aug 09 10:49:42 2019 -0400
@@ -674,7 +674,7 @@
   if (args.length () != 1)
     print_usage ();
 
-  std::string name = args(0).xstring_value ("__get_cmd_line_function_text__: first argument must be function name");
+  std::string name = args(0).xstring_value ("__get_cmdline_fcn_txt__: first argument must be function name");
 
   octave::symbol_table& symtab = interp.get_symbol_table ();