Mercurial > octave
changeset 2464:76078d0868e9
[project @ 1996-11-03 07:46:20 by jwe]
author | jwe |
---|---|
date | Sun, 03 Nov 1996 07:46:21 +0000 |
parents | 4516c3b75851 |
children | 7ee42ff6536a |
files | src/ChangeLog src/pt-exp-base.h src/syswait.h |
diffstat | 3 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sun Nov 03 06:48:27 1996 +0000 +++ b/src/ChangeLog Sun Nov 03 07:46:21 1996 +0000 @@ -1,5 +1,11 @@ Sun Nov 3 00:45:30 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + * syswait.h: Use #ifdef HAVE_SYS_WAIT_H, not #if HAVE_SYS_WAIT_H + to decide whether to include sys/wait.h. + + * pt-exp-base.h (tree_expression): Declare oper() here as a + virtual member function. + * pt-pr-code.cc (tree_print_code::visit_constant): Check for string before checking for char_matrix.
--- a/src/pt-exp-base.h Sun Nov 03 06:48:27 1996 +0000 +++ b/src/pt-exp-base.h Sun Nov 03 07:46:21 1996 +0000 @@ -90,6 +90,8 @@ virtual octave_value eval (bool print) = 0; + virtual char *oper (void) const { return "<unknown>"; } + protected: // Nonzero if this expression appears inside parentheses.