diff libinterp/corefcn/help.cc @ 29961:7d6709900da7

eliminate octave:: namespace tags in DEFUN and DEFMETHOD and more Files affected: __betainc__.cc, __contourc__.cc, __eigs__.cc, __expint__.cc, __ftp__.cc, __gammainc__.cc, __ichol__.cc, __ilu__.cc, __magick_read__.cc, __pchip_deriv__.cc, __qp__.cc, amd.cc, balance.cc, besselj.cc, bsxfun.cc, call-stack.cc, ccolamd.cc, cellfun.cc, chol.cc, colamd.cc, colloc.cc, conv2.cc, daspk.cc, dasrt.cc, dassl.cc, data.cc, defaults.cc, dirfns.cc, display.cc, dlmread.cc, dmperm.cc, dot.cc, eig.cc, ellipj.cc, environment.cc, error.cc, event-manager.cc, fft.cc, fft2.cc, fftn.cc, file-io.cc, find.cc, gcd.cc, getgrent.cc, getpwent.cc, getrusage.cc, gsvd.cc, hash.cc, help.cc, hess.cc, hex2num.cc, input.cc, inv.cc, jsondecode.cc, jsonencode.cc, load-path.cc, load-save.cc, lookup.cc, lsode.cc, lu.cc, max.cc, mgorth.cc, oct-hist.cc, ordqz.cc, ordschur.cc, pager.cc, pr-output.cc, psi.cc, qr.cc, quad.cc, quadcc.cc, qz.cc, rand.cc, regexp.cc, schur.cc, settings.cc, sighandlers.cc, sparse.cc, spparms.cc, sqrtm.cc, stream-euler.cc, strfind.cc, strfns.cc, sub2ind.cc, svd.cc, symbfact.cc, symtab.cc, syscalls.cc, sysdep.cc, time.cc, toplev.cc, tril.cc, typecast.cc, urlwrite.cc, utils.cc, variables.cc, __delaunayn__.cc, __fltk_uigetfile__.cc, __glpk__.cc, __init_gnuplot__.cc, __ode15__.cc, __voronoi__.cc, audiodevinfo.cc, audioread.cc, convhulln.cc, fftw.cc, gzip.cc, ov-cell.cc, ov-class.cc, ov-classdef.cc, ov-fcn-handle.cc, ov-struct.cc, ov-typeinfo.cc, ov-usr-fcn.cc, octave.cc, lex.ll, oct-parse.yy, profiler.cc, andpt-eval.cc.
author John W. Eaton <jwe@octave.org>
date Sat, 14 Aug 2021 22:48:52 -0400
parents 939bef0b66e0
children bfbe6e528af5
line wrap: on
line diff
--- a/libinterp/corefcn/help.cc	Sat Aug 14 21:50:26 2021 -0400
+++ b/libinterp/corefcn/help.cc	Sat Aug 14 22:48:52 2021 -0400
@@ -732,7 +732,7 @@
 
   const std::string name = args(0).xstring_value ("get_help_text: NAME must be a string");
 
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   std::string text, format;
 
@@ -757,7 +757,7 @@
 
   const std::string fname = args(0).xstring_value ("get_help_text_from_file: NAME must be a string");
 
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   std::string text, format;
 
@@ -774,7 +774,7 @@
 Undocumented internal function.
 @end deftypefn */)
 {
-  return ovl (Cell (octave::operator_names));
+  return ovl (Cell (operator_names));
 }
 
 // Return a cell array of strings containing the names of all keywords.
@@ -791,7 +791,7 @@
 Undocumented internal function.
 @end deftypefn */)
 {
-  octave::symbol_table& symtab = interp.get_symbol_table ();
+  symbol_table& symtab = interp.get_symbol_table ();
 
   const string_vector bif = symtab.built_in_function_names ();
 
@@ -820,13 +820,13 @@
   Cell retval;
 
   // Find the main function we are in.
-  octave::tree_evaluator& tw = interp.get_evaluator ();
+  tree_evaluator& tw = interp.get_evaluator ();
   octave_user_code *caller = tw.debug_user_code ();
 
   if (! caller)
     return ovl (retval);
 
-  octave::symbol_scope scope = caller->scope ();
+  symbol_scope scope = caller->scope ();
 
   return ovl (Cell (scope.localfunctions ()));
 }
@@ -860,7 +860,7 @@
 Undocumented internal function.
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   string_vector argv = args.make_argv ();
 
@@ -909,7 +909,7 @@
 {
   octave_value retval;
 
-  octave::load_path& lp = interp.get_load_path ();
+  load_path& lp = interp.get_load_path ();
 
   if (args.length () == 0)
     {
@@ -955,7 +955,7 @@
 Modifying it during a running session of Octave will have no effect.
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.built_in_docstrings_file (args, nargout);
 }
@@ -984,7 +984,7 @@
 @seealso{lookfor}
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.doc_cache_file (args, nargout);
 }
@@ -1010,7 +1010,7 @@
 @seealso{info_program, doc, help, makeinfo_program}
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.info_file (args, nargout);
 }
@@ -1033,7 +1033,7 @@
 @seealso{info_file, doc, help, makeinfo_program}
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.info_program (args, nargout);
 }
@@ -1055,7 +1055,7 @@
 @seealso{texi_macros_file, info_file, info_program, doc, help}
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.makeinfo_program (args, nargout);
 }
@@ -1074,7 +1074,7 @@
 The original variable value is restored when exiting the function.
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.suppress_verbose_help_message (args, nargout);
 }
@@ -1102,7 +1102,7 @@
 @seealso{makeinfo_program}
 @end deftypefn */)
 {
-  octave::help_system& help_sys = interp.get_help_system ();
+  help_system& help_sys = interp.get_help_system ();
 
   return help_sys.texi_macros_file (args, nargout);
 }