changeset 5875:f6ddc0ee2315

[project @ 2006-07-01 15:24:44 by jwe]
author jwe
date Sat, 01 Jul 2006 15:24:44 +0000
parents 210c5c98c403
children 565d0cd4d9d0
files src/ChangeLog src/parse.y
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-01  John W. Eaton  <jwe@octave.org>
+
+	* parse.y (finish_cell): Use finish_matrix to do constant folding.
+
 2006-06-30  John W. Eaton  <jwe@octave.org>
 
 	* ov-base.cc (octave_base_value::numeric_assign):
--- a/src/parse.y
+++ b/src/parse.y
@@ -2789,9 +2789,7 @@
 static tree_expression *
 finish_cell (tree_cell *c)
 {
-  // For now, this doesn't do anything.
-
-  return c;
+  return finish_matrix (c);
 }
 
 static void