changeset 13226:a6becd1b846e

eliminate DO_SIMPLE_FOR_LOOP_ONCE macro definition too * pt-eval.cc (DO_SIMPLE_FOR_LOOP_ONCE): Delete macro.
author John W. Eaton <jwe@octave.org>
date Sun, 25 Sep 2011 20:15:26 -0400
parents 359153d26cc1
children 9559417aa965
files src/pt-eval.cc
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-eval.cc	Sun Sep 25 20:12:19 2011 -0400
+++ b/src/pt-eval.cc	Sun Sep 25 20:15:26 2011 -0400
@@ -281,18 +281,6 @@
   return quit;
 }
 
-#define DO_SIMPLE_FOR_LOOP_ONCE(VAL) \
-  do \
-    { \
-      ult.assign (octave_value::op_asn_eq, VAL); \
- \
-      if (! error_state && loop_body) \
-        loop_body->accept (*this); \
- \
-      quit = quit_loop_now (); \
-    } \
-  while (0)
-
 void
 tree_evaluator::visit_simple_for_command (tree_simple_for_command& cmd)
 {