Mercurial > hg > octave-lyh
diff src/pt-assign.cc @ 8913:35cd375d4bb3
make tree::dup functions const
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Mar 2009 13:50:25 -0500 |
parents | 24dd61b36591 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/pt-assign.cc +++ b/src/pt-assign.cc @@ -269,7 +269,7 @@ tree_expression * tree_simple_assignment::dup (symbol_table::scope_id scope, - symbol_table::context_id context) + symbol_table::context_id context) const { tree_simple_assignment *new_sa = new tree_simple_assignment (lhs ? lhs->dup (scope, context) : 0, @@ -479,7 +479,7 @@ tree_expression * tree_multi_assignment::dup (symbol_table::scope_id scope, - symbol_table::context_id context) + symbol_table::context_id context) const { tree_multi_assignment *new_ma = new tree_multi_assignment (lhs ? lhs->dup (scope, context) : 0,