Mercurial > hg > octave-nkf
diff src/parse.h @ 7715:5b4d278ec828
parse scripts completely before executing
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 16 Apr 2008 15:09:56 -0400 |
parents | 745a8299c2b5 |
children | 33783e94fb16 |
line wrap: on
line diff
--- a/src/parse.h +++ b/src/parse.h @@ -81,13 +81,6 @@ // Keep a count of how many END tokens we expect. extern int end_tokens_expected; -extern OCTINTERP_API void -parse_and_execute (FILE *f); - -extern OCTINTERP_API void -parse_and_execute (const std::string& s, bool verbose = false, - const char *warn_for = 0); - extern OCTINTERP_API std::string get_help_from_file (const std::string& nm, bool& symbol_found, std::string& file); @@ -110,7 +103,9 @@ extern OCTINTERP_API void source_file (const std::string& file_name, - const std::string& context = std::string ()); + const std::string& context = std::string (), + bool verbose = false, bool require_file = true, + const std::string& warn_for = std::string ()); extern OCTINTERP_API octave_value_list feval (const std::string& name,