diff libinterp/parse-tree/parse.h @ 27507:2d537a089e5d

eliminate warn_for argument for source_file and parse_fcn_file functions * interpreter.h, interpreter.cc (interpreter::source_file, interpreter::parse_fcn_file): Eliminate warn_for argument. Change all uses. * pt-eval.h, pt-eval.cc (tree_evaluator::source_file): Eliminate warn_for argument. Change all uses.
author John W. Eaton <jwe@octave.org>
date Thu, 10 Oct 2019 16:50:58 -0400
parents c409d16b7190
children fefc780b4e2e
line wrap: on
line diff
--- a/libinterp/parse-tree/parse.h	Thu Oct 10 16:27:57 2019 -0400
+++ b/libinterp/parse-tree/parse.h	Thu Oct 10 16:50:58 2019 -0400
@@ -571,8 +571,7 @@
   extern OCTINTERP_API void
   source_file (const std::string& file_name,
                const std::string& context = "",
-               bool verbose = false, bool require_file = true,
-               const std::string& warn_for = "");
+               bool verbose = false, bool require_file = true);
 
   extern OCTINTERP_API octave_value_list
   feval (const char *name,