Mercurial > hg > octave-lyh
diff src/pt-cmd.h @ 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 | 5b4d278ec828 |
children | 73c4516fae10 |
line wrap: on
line diff
--- a/src/pt-cmd.h +++ b/src/pt-cmd.h @@ -47,7 +47,8 @@ virtual void eval (void) = 0; - virtual tree_command *dup (symbol_table::scope_id) = 0; + virtual tree_command *dup (symbol_table::scope_id, + symbol_table::context_id context) = 0; private: @@ -72,7 +73,8 @@ void eval (void) { MAYBE_DO_BREAKPOINT; } - tree_command *dup (symbol_table::scope_id scope); + tree_command *dup (symbol_table::scope_id scope, + symbol_table::context_id context); void accept (tree_walker& tw); @@ -103,7 +105,8 @@ void eval (void); - tree_command *dup (symbol_table::scope_id scope); + tree_command *dup (symbol_table::scope_id scope, + symbol_table::context_id context); void accept (tree_walker& tw);