Mercurial > hg > octave-nkf
changeset 15480:c7d7d43f26bb
call Ffoo functions instead of setting Vfoo directly.
* octave.cc (octave_process_command_line): Call
Fbuilt_in_docstrings_file instead of setting
Vbuilt_in_docstrings_file directly. Likewise for Fdoc_cache_file,
Finfo_file, Finfo_program, and Ftexi_macros_file.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 03 Oct 2012 03:10:45 -0400 |
parents | 3f447bcc8488 |
children | 85e3ebc11da4 |
files | libinterp/octave.cc |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave.cc +++ b/libinterp/octave.cc @@ -752,12 +752,12 @@ case BUILT_IN_DOCSTRINGS_FILE_OPTION: if (optarg) - Vbuilt_in_docstrings_file = optarg; + Fbuilt_in_docstrings_file (octave_value (optarg)); break; case DOC_CACHE_FILE_OPTION: if (optarg) - Vdoc_cache_file = optarg; + Fdoc_cache_file (octave_value (optarg)); break; case EVAL_OPTION: @@ -786,12 +786,12 @@ case INFO_FILE_OPTION: if (optarg) - Vinfo_file = optarg; + Finfo_file (octave_value (optarg)); break; case INFO_PROG_OPTION: if (optarg) - Vinfo_program = optarg; + Finfo_program (octave_value (optarg)); break; case JIT_DEBUGGING_OPTION: @@ -836,7 +836,7 @@ case TEXI_MACROS_FILE_OPTION: if (optarg) - Vtexi_macros_file = optarg; + Ftexi_macros_file (octave_value (optarg)); break; case TRADITIONAL_OPTION: