Mercurial > hg > octave-nkf
diff src/pt-jump.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 | 73c4516fae10 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/pt-jump.cc +++ b/src/pt-jump.cc @@ -40,7 +40,7 @@ tree_command * tree_break_command::dup (symbol_table::scope_id, - symbol_table::context_id /*context*/) + symbol_table::context_id) const { return new tree_break_command (line (), column ()); } @@ -58,7 +58,7 @@ tree_command * tree_continue_command::dup (symbol_table::scope_id, - symbol_table::context_id /*context*/) + symbol_table::context_id) const { return new tree_continue_command (line (), column ()); } @@ -76,7 +76,7 @@ tree_command * tree_return_command::dup (symbol_table::scope_id, - symbol_table::context_id /*context*/) + symbol_table::context_id) const { return new tree_return_command (line (), column ()); }