# HG changeset patch # User John W. Eaton # Date 1349248245 14400 # Node ID c7d7d43f26bba736d06316dcc17d27b0fb9ff663 # Parent 3f447bcc8488525aca724260a45656b75abdf89a 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. diff -r 3f447bcc8488 -r c7d7d43f26bb libinterp/octave.cc --- a/libinterp/octave.cc Wed Oct 03 03:07:22 2012 -0400 +++ b/libinterp/octave.cc Wed Oct 03 03:10:45 2012 -0400 @@ -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: