# HG changeset patch # User jwe # Date 1094685204 0 # Node ID 8719102eb804739aa973446e17bc01accd285d31 # Parent 3736fb91aa2d8f3ed41d99d9c1ba158901465434 [project @ 2004-09-08 23:13:24 by jwe] diff -r 3736fb91aa2d -r 8719102eb804 src/ChangeLog --- a/src/ChangeLog Wed Sep 08 21:07:54 2004 +0000 +++ b/src/ChangeLog Wed Sep 08 23:13:24 2004 +0000 @@ -1,5 +1,8 @@ 2004-09-08 John W. Eaton + * ov-fcn-handle.cc (Ffunc2str, Ffunctions): Don't call substr(1) + on fh_nm, since we no longer need to skip "@" in the name. + * error.cc (pr_where): Do a better job of printing location info. * input.cc (get_user_input): Print location info before the debug diff -r 3736fb91aa2d -r 8719102eb804 src/ov-fcn-handle.cc --- a/src/ov-fcn-handle.cc Wed Sep 08 21:07:54 2004 +0000 +++ b/src/ov-fcn-handle.cc Wed Sep 08 23:13:24 2004 +0000 @@ -136,7 +136,7 @@ std::string fh_nm = fh->fcn_name (); - m.assign ("function", fh_nm.substr (1)); + m.assign ("function", fh_nm); if (fcn->is_nested_function ()) m.assign ("type", "subfunction"); @@ -185,7 +185,7 @@ if (! error_state && fh) { std::string fh_nm = fh->fcn_name (); - retval = fh_nm.substr (1); + retval = fh_nm; } else error ("func2str: expecting valid function handle as first argument");