diff src/pt-stmt.cc @ 8669:33783e94fb16

line number fixes and other evaluator tweaks
author John W. Eaton <jwe@octave.org>
date Wed, 04 Feb 2009 13:28:06 -0500
parents 73c4516fae10
children b9ce57a309a3
line wrap: on
line diff
--- a/src/pt-stmt.cc	Wed Feb 04 11:39:45 2009 -0500
+++ b/src/pt-stmt.cc	Wed Feb 04 13:28:06 2009 -0500
@@ -83,15 +83,11 @@
 }
 
 void
-tree_statement::maybe_echo_code (bool in_function_or_script_body)
+tree_statement::echo_code (void)
 {
-  if (in_function_or_script_body
-      && (Vecho_executing_commands & ECHO_FUNCTIONS))
-    {
-      tree_print_code tpc (octave_stdout, VPS4);
+  tree_print_code tpc (octave_stdout, VPS4);
 
-      accept (tpc);
-    }
+  accept (tpc);
 }
 
 bool