Mercurial > hg > octave-nkf
changeset 15562:8ed107220a3e
maint: Rename unimplemented.m to __unimplemented__.m.
* resource-manager.cc(octave_keywords): Change unimplemented.m to
__unimplemented__.m.
* variables.cc: Change variable Vmissing_function_hook to __unimplemented__.
* scripts/help/module.mk: Change unimplemented.m to __unimplemented__.m in
list of FCN_FILES.
author | Juan Pablo Carbajal <ajuanpi+dev@gmail.com> |
---|---|
date | Thu, 25 Oct 2012 17:02:26 -0400 |
parents | 305ad0a215ba |
children | ed6385e23420 |
files | libgui/src/resource-manager.cc libinterp/interpfcn/variables.cc scripts/help/__unimplemented__.m scripts/help/module.mk scripts/help/unimplemented.m |
diffstat | 4 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/resource-manager.cc +++ b/libgui/src/resource-manager.cc @@ -311,6 +311,7 @@ "__sort_rows_idx__ " "__strip_html_tags__ " "__token_count__ " + "__unimplemented__ " "__varval__ " "__version_info__ " "__voronoi__ " @@ -1638,7 +1639,6 @@ "unifinv " "unifpdf " "unifrnd " - "unimplemented " "union " "unique " "unix "
--- a/libinterp/interpfcn/variables.cc +++ b/libinterp/interpfcn/variables.cc @@ -2536,7 +2536,7 @@ return SET_INTERNAL_VARIABLE (whos_line_format); } -static std::string Vmissing_function_hook = "unimplemented"; +static std::string Vmissing_function_hook = "__unimplemented__"; DEFUN (missing_function_hook, args, nargout, "-*- texinfo -*-\n\
rename from scripts/help/unimplemented.m rename to scripts/help/__unimplemented__.m --- a/scripts/help/unimplemented.m +++ b/scripts/help/__unimplemented__.m @@ -30,7 +30,7 @@ ## @end deftypefn -function txt = unimplemented (fcn) +function txt = __unimplemented__ (fcn) if (nargin != 1) print_usage (); @@ -421,9 +421,9 @@ %!test -%! str = unimplemented ("no_name_function"); +%! str = __unimplemented__ ("no_name_function"); %! assert (isempty (str)); -%! str = unimplemented ("quad2d"); +%! str = __unimplemented__ ("quad2d"); %! assert (str(1:51), "quad2d is not implemented. Consider using dblquad."); -%! str = unimplemented ("MException"); +%! str = __unimplemented__ ("MException"); %! assert (str(1:58), "the 'MException' function is not yet implemented in Octave");
--- a/scripts/help/module.mk +++ b/scripts/help/module.mk @@ -6,6 +6,7 @@ help_FCN_FILES = \ help/__makeinfo__.m \ + help/__unimplemented__.m \ help/doc.m \ help/gen_doc_cache.m \ help/get_first_help_sentence.m \ @@ -13,7 +14,6 @@ help/lookfor.m \ help/print_usage.m \ help/type.m \ - help/unimplemented.m \ help/which.m \ $(help_PRIVATE_FCN_FILES)