Mercurial > hg > octave-lyh
changeset 2876:b4a9f014a8ea
[project @ 1997-04-24 09:00:15 by jwe]
author | jwe |
---|---|
date | Thu, 24 Apr 1997 09:01:13 +0000 |
parents | 2e45e7a3d45e |
children | 5c1b9e545dd1 |
files | src/input.cc src/pt-walk.h |
diffstat | 2 files changed, 53 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/input.cc +++ b/src/input.cc @@ -667,6 +667,9 @@ { string_vector names; + // XXX FIXME XXX -- this needs some work, eh? + +#if 0 assert (text); char *id = strsave (text); @@ -720,6 +723,7 @@ } delete [] id; +#endif return names; } @@ -770,6 +774,9 @@ { int retval = 0; + // XXX FIXME XXX -- this needs some work, eh? + +#if 0 assert (nm); char *id = strsave (nm); @@ -808,6 +815,7 @@ } delete [] id; +#endif return retval; }
--- a/src/pt-walk.h +++ b/src/pt-walk.h @@ -23,15 +23,51 @@ #if !defined (octave_tree_walker_h) #define octave_tree_walker_h 1 -#include "pt-cmd.h" -#include "pt-const.h" -#include "pt-exp.h" -#include "pt-fcn.h" -#include "pt-fvc.h" -#include "pt-mat.h" -#include "pt-misc.h" -#include "pt-mvr.h" -#include "pt-plot.h" +class tree_argument_list; +class tree_binary_expression; +class tree_break_command; +class tree_builtin; +class tree_colon_expression; +class tree_continue_command; +class tree_decl_command; +class tree_decl_elt; +class tree_decl_init_list; +class tree_for_command; +class tree_function; +class tree_identifier; +class tree_if_clause; +class tree_if_command; +class tree_if_command_list; +class tree_switch_case; +class tree_switch_case_list; +class tree_switch_command; +class tree_index_expression; +class tree_indirect_ref; +class tree_matrix; +class tree_matrix_row; +class tree_multi_assignment_expression; +class tree_no_op_command; +class tree_oct_obj; +class tree_constant; +class tree_parameter_list; +class tree_plot_command; +class plot_limits; +class plot_range; +class tree_postfix_expression; +class tree_prefix_expression; +class tree_return_command; +class tree_return_list; +class tree_simple_assignment_expression; +class tree_statement; +class tree_statement_list; +class subplot; +class subplot_list; +class subplot_style; +class subplot_using; +class tree_try_catch_command; +class tree_unary_expression; +class tree_unwind_protect_command; +class tree_while_command; class tree_walker