Mercurial > octave
diff src/pt-idx.cc @ 2991:fc751d2a99fd
[project @ 1997-05-16 21:00:48 by jwe]
author | jwe |
---|---|
date | Fri, 16 May 1997 21:00:49 +0000 |
parents | 84c33881d0bc |
children | bc3fdfe311a3 |
line wrap: on
line diff
--- a/src/pt-idx.cc Fri May 16 09:19:12 1997 +0000 +++ b/src/pt-idx.cc Fri May 16 21:00:49 1997 +0000 @@ -44,6 +44,15 @@ delete list; } +// This is useful for printing the name of the variable in an indexed +// assignment. + +string +tree_index_expression::name (void) const +{ + return expr->name (); +} + octave_value_list tree_index_expression::rvalue (int nargout) {