Mercurial > octave-dspies
diff libinterp/parse-tree/module.mk @ 16237:70f465930546
rearrange class heirarchy for tree_cell and tree_matrix
* pt-array-list.h, pt-array-list.cc: New files.
(tree_array_list): New class.
* pt-cell.h, pt-cell.cc (tree_cell): Derive from tree_array_list.
* pt-mat.h, pt-mat.cc (tree_matrix): Derive from tree_array_list.
* oct-parse.in.yy (octave_parser::finish_array_list): New function
adapted from octave_parser::finish_matrix.
(octave_parser::finish_matrix, octave_parser::finish_cell):
Call finish_array_list to do the work.
* pt-arg-list.h: Include symtab.h.
* base-list.h: Include cstdlib.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 09 Mar 2013 18:04:51 -0500 |
parents | 39096b290a2f |
children | 90dfd98a915a faaf60aa457c |
line wrap: on
line diff
--- a/libinterp/parse-tree/module.mk Sat Mar 09 18:42:43 2013 +0000 +++ b/libinterp/parse-tree/module.mk Sat Mar 09 18:04:51 2013 -0500 @@ -21,6 +21,7 @@ PARSE_TREE_INC = \ parse-tree/pt-all.h \ parse-tree/pt-arg-list.h \ + parse-tree/pt-array-list.h \ parse-tree/pt-assign.h \ parse-tree/pt-binop.h \ parse-tree/pt-bp.h \ @@ -52,6 +53,7 @@ PARSE_TREE_SRC = \ parse-tree/pt-arg-list.cc \ + parse-tree/pt-array-list.cc \ parse-tree/pt-assign.cc \ parse-tree/pt-binop.cc \ parse-tree/pt-bp.cc \