Mercurial > hg > octave-lyh
diff src/pt-jump.cc @ 5861:2a6cb4ed8f1e
[project @ 2006-06-16 05:09:41 by jwe]
author | jwe |
---|---|
date | Fri, 16 Jun 2006 05:09:42 +0000 |
parents | f2b9aa13f2bf |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/src/pt-jump.cc +++ b/src/pt-jump.cc @@ -48,6 +48,12 @@ breaking = 1; } +tree_command * +tree_break_command::dup (symbol_table *) +{ + return new tree_break_command (line (), column ()); +} + void tree_break_command::accept (tree_walker& tw) { @@ -68,6 +74,12 @@ continuing = 1; } +tree_command * +tree_continue_command::dup (symbol_table *) +{ + return new tree_continue_command (line (), column ()); +} + void tree_continue_command::accept (tree_walker& tw) { @@ -88,6 +100,12 @@ returning = 1; } +tree_command * +tree_return_command::dup (symbol_table *) +{ + return new tree_return_command (line (), column ()); +} + void tree_return_command::accept (tree_walker& tw) {