Mercurial > hg > octave-lyh
changeset 2956:c41e4dca98b9
[project @ 1997-05-09 17:17:43 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 17:19:18 +0000 |
parents | dfffbf305468 |
children | 17c69c89fe93 |
files | src/ChangeLog src/pt-cmd.cc src/pt-cmd.h src/pt-id.cc src/pt-indir.cc src/pt-misc.cc src/symtab.h src/token.cc src/variables.cc |
diffstat | 9 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <jwe@bevo.che.wisc.edu> + * 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.
--- 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"
--- 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;
--- 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.
--- 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).
--- 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"
--- 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;
--- a/src/token.cc +++ b/src/token.cc @@ -31,6 +31,7 @@ #include <cassert> #include "error.h" +#include "ov.h" #include "symtab.h" #include "token.h" #include "utils.h"
--- 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,