Mercurial > octave-antonio
diff src/parse.y @ 3928:e8627dc4bdf2
[project @ 2002-05-03 19:56:01 by jwe]
author | jwe |
---|---|
date | Fri, 03 May 2002 19:56:02 +0000 |
parents | 1dbe160ea0d1 |
children | cc8ae49d6e79 |
line wrap: on
line diff
--- a/src/parse.y Fri May 03 02:13:42 2002 +0000 +++ b/src/parse.y Fri May 03 19:56:02 2002 +0000 @@ -40,6 +40,7 @@ #include <strstream.h> +#include "Cell.h" #include "Matrix.h" #include "cmd-edit.h" #include "cmd-hist.h" @@ -606,9 +607,9 @@ ; cell : '{' '}' - { $$ = new tree_constant (octave_value (Matrix ())); } + { $$ = new tree_constant (octave_value (Cell ())); } | '{' ';' '}' - { $$ = new tree_constant (octave_value (Matrix ())); } + { $$ = new tree_constant (octave_value (Cell ())); } | '{' cell_rows '}' { $$ = finish_cell ($2); } ;