# HG changeset patch # User jwe # Date 863198358 0 # Node ID c41e4dca98b95d5eac44935134c5ee7303bcf67e # Parent dfffbf305468f6e2719c6314d4e8cd5f3cda01fb [project @ 1997-05-09 17:17:43 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -21,6 +21,7 @@ * oct-var-ref.h, oct-var-ref.cc: New files for octave_variable_reference class, extracted from variables.h and variables.cc + * Makefile.in: Add them to the appropriate lists. * oct-obj.h (octave_value_list::empty): New function. @@ -30,6 +31,8 @@ structure element we are referencing. Handle assignment, increment, decrement, and value operations. +Thu May 8 23:40:59 1997 John W. Eaton + * ov-re-mat.h, ov-re-mat.cc (struct_elt_ref, struct_elt_val, assign_struct_elt): Provide functions for looking up and setting matrix dimensions. diff --git a/src/pt-cmd.cc b/src/pt-cmd.cc --- a/src/pt-cmd.cc +++ b/src/pt-cmd.cc @@ -43,8 +43,9 @@ #include "error.h" #include "gripes.h" #include "oct-map.h" +#include "oct-var-ref.h" +#include "pt-cmd.h" #include "symtab.h" -#include "pt-cmd.h" #include "ov.h" #include "pt-exp.h" #include "pt-id.h" diff --git a/src/pt-cmd.h b/src/pt-cmd.h --- a/src/pt-cmd.h +++ b/src/pt-cmd.h @@ -40,7 +40,6 @@ class tree_identifier; class tree_return_list; class octave_value; -class symbol_record; class tree_command; class tree_decl_command; diff --git a/src/pt-id.cc b/src/pt-id.cc --- a/src/pt-id.cc +++ b/src/pt-id.cc @@ -39,6 +39,7 @@ #include "pt-walk.h" #include "symtab.h" #include "utils.h" +#include "variables.h" // Symbols from the symbol table. diff --git a/src/pt-indir.cc b/src/pt-indir.cc --- a/src/pt-indir.cc +++ b/src/pt-indir.cc @@ -41,6 +41,7 @@ #include "pt-walk.h" #include "symtab.h" #include "utils.h" +#include "variables.h" // Indirect references to values (structure elements). diff --git a/src/pt-misc.cc b/src/pt-misc.cc --- a/src/pt-misc.cc +++ b/src/pt-misc.cc @@ -45,6 +45,7 @@ #include "input.h" #include "oct-obj.h" #include "oct-usr-fcn.h" +#include "oct-var-ref.h" #include "ov.h" #include "pager.h" #include "pt-cmd.h" diff --git a/src/symtab.h b/src/symtab.h --- a/src/symtab.h +++ b/src/symtab.h @@ -39,6 +39,8 @@ class octave_symbol; class octave_function; +class octave_value; +class octave_variable_reference; class string_vector; diff --git a/src/token.cc b/src/token.cc --- a/src/token.cc +++ b/src/token.cc @@ -31,6 +31,7 @@ #include #include "error.h" +#include "ov.h" #include "symtab.h" #include "token.h" #include "utils.h" diff --git a/src/variables.cc b/src/variables.cc --- a/src/variables.cc +++ b/src/variables.cc @@ -1536,7 +1536,7 @@ install_builtin_variable (const string& name, const octave_value& value, bool install_as_function, bool protect, bool eternal, symbol_record::sv_function sv_fcn, - const string& help_string); + const string& help_string) { if (install_as_function) install_builtin_variable_as_function (name, value, protect,