changeset 26193:9aff537a5704

* input.cc (looks_like_struct): Delete obsolete commented code.
author John W. Eaton <jwe@octave.org>
date Mon, 10 Dec 2018 16:33:48 -0500
parents 6c482f11f9ad
children 4f1b3651fa5f
files libinterp/corefcn/input.cc
diffstat 1 files changed, 0 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc	Mon Dec 10 12:42:01 2018 -0800
+++ b/libinterp/corefcn/input.cc	Mon Dec 10 16:33:48 2018 -0500
@@ -251,30 +251,6 @@
                  && text.find ("..") == std::string::npos
                  && text.rfind ('.') != std::string::npos);
 
-#if 0
-  symbol_record *sr = curr_sym_tab->lookup (text);
-
-  if (sr && ! sr->is_function ())
-    {
-      int parse_status;
-
-      octave::unwind_protect frame;
-
-      frame.protect_var (discard_error_messages);
-
-      discard_error_messages = true;
-
-      octave::interpreter& interp
-        = octave::__get_interpreter__ ("looks_like_struct");
-
-      octave_value tmp = interp.eval_string (text, true, parse_status);
-
-      frame.run ();
-
-      retval = (tmp.is_defined () && tmp.isstruct ());
-    }
-#endif
-
   return retval;
 }