Mercurial > hg > octave-lojdl
changeset 1795:4603d7ee0258
[project @ 1996-01-29 01:01:04 by jwe]
author | jwe |
---|---|
date | Mon, 29 Jan 1996 01:03:38 +0000 |
parents | 7380d525bcaa |
children | d9aaa9aaa1c0 |
files | src/utils.cc src/utils.h src/variables.cc |
diffstat | 3 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/utils.cc +++ b/src/utils.cc @@ -367,7 +367,7 @@ } string_vector -get_fcn_file_names (int& num, int no_suffix) +get_fcn_file_names (int no_suffix) { static int num_max = 1024;
--- a/src/utils.h +++ b/src/utils.h @@ -63,7 +63,7 @@ extern string_vector get_fcn_file_names (const string&, int = 0); -extern string_vector get_fcn_file_names (int& ffl_len, int = 0); +extern string_vector get_fcn_file_names (int = 0); extern int NINT (double x); extern double D_NINT (double x);
--- a/src/variables.cc +++ b/src/variables.cc @@ -1047,7 +1047,6 @@ int glb_len = 0; int top_len = 0; int lcl_len = 0; - int ffl_len = 0; string_vector key; string_vector glb; @@ -1059,11 +1058,16 @@ // strings. key = names (keyword_help (), key_len); + glb = global_sym_tab->list (glb_len); + top = top_level_sym_tab->list (top_len); + if (top_level_sym_tab != curr_sym_tab) lcl = curr_sym_tab->list (lcl_len); + ffl = get_fcn_file_names (ffl_len, 1); + int ffl_len = ffl.length (); int total_len = key_len + glb_len + top_len + lcl_len + ffl_len;