Mercurial > hg > octave-jordi
diff src/pt-jump.cc @ 2985:aa9d0c0e0458
[project @ 1997-05-16 06:54:18 by jwe]
author | jwe |
---|---|
date | Fri, 16 May 1997 06:55:52 +0000 (1997-05-16) |
parents | 20f5cec4f11c |
children | bf6116ca10eb |
line wrap: on
line diff
--- a/src/pt-jump.cc +++ b/src/pt-jump.cc @@ -28,22 +28,15 @@ #include <config.h> #endif -// Nonzero means we're breaking out of a loop or function body. -int breaking = 0; - -// Nonzero means we're jumping to the end of a loop. -int continuing = 0; - -// Nonzero means we're returning from a function. Global because it -// is also needed in tree-expr.cc. -int returning = 0; - #include "error.h" #include "pt-jump.h" #include "pt-walk.h" // Break. +// Nonzero means we're breaking out of a loop or function body. +int tree_break_command::breaking = 0; + void tree_break_command::eval (void) { @@ -59,6 +52,9 @@ // Continue. +// Nonzero means we're jumping to the end of a loop. +int tree_continue_command::continuing = 0; + void tree_continue_command::eval (void) { @@ -74,6 +70,10 @@ // Return. +// Nonzero means we're returning from a function. Global because it +// is also needed in tree-expr.cc. +int tree_return_command::returning = 0; + void tree_return_command::eval (void) {