# HG changeset patch # User John W. Eaton # Date 1591907597 14400 # Node ID 925c169a4958a513a472d1281b44595ddc2e906a # Parent 2396ee754ce8f6cd5eade949e9f05b00c8cb18e0 use "function" instead of "name" as field name returned from functions * ov-fcn-handle.cc (anonymous_fcn_handle::info): Use "function" instead of "name" for struct field that contains the function text. diff -r 2396ee754ce8 -r 925c169a4958 libinterp/octave-value/ov-fcn-handle.cc --- a/libinterp/octave-value/ov-fcn-handle.cc Thu Jun 11 16:01:39 2020 +0200 +++ b/libinterp/octave-value/ov-fcn-handle.cc Thu Jun 11 16:33:17 2020 -0400 @@ -1789,7 +1789,7 @@ std::ostringstream buf; print_raw (buf, true, 0); - m.setfield ("name", buf.str ()); + m.setfield ("function", buf.str ()); m.setfield ("type", type ()); m.setfield ("file", "");