Mercurial > hg > octave-nkf
diff src/pt-cmd.cc @ 7767:71f068b22fcc
scope and context fixes for function handles
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 07 May 2008 13:45:30 -0400 |
parents | ea9cb4d68dbf |
children | 4976f66d469b |
line wrap: on
line diff
--- a/src/pt-cmd.cc +++ b/src/pt-cmd.cc @@ -31,7 +31,8 @@ // No-op. tree_command * -tree_no_op_command::dup (symbol_table::scope_id) +tree_no_op_command::dup (symbol_table::scope_id, + symbol_table::context_id context) { return new tree_no_op_command (orig_cmd, line (), column ()); } @@ -63,7 +64,8 @@ } tree_command * -tree_function_def::dup (symbol_table::scope_id) +tree_function_def::dup (symbol_table::scope_id, + symbol_table::context_id context) { return new tree_function_def (fcn, line (), column ()); }