diff src/pt-stmt.cc @ 4153:6b96ce9f5743

[project @ 2002-11-06 20:38:49 by jwe]
author jwe
date Wed, 06 Nov 2002 20:38:50 +0000
parents 47d3baea432d
children 2aea727f516f
line wrap: on
line diff
--- a/src/pt-stmt.cc	Wed Nov 06 18:41:50 2002 +0000
+++ b/src/pt-stmt.cc	Wed Nov 06 20:38:50 2002 +0000
@@ -30,6 +30,8 @@
 
 #include <SLList.h>
 
+#include "quit.h"
+
 #include "defun.h"
 #include "error.h"
 #include "ov.h"
@@ -156,6 +158,8 @@
 
       if (elt)
 	{
+	  OCTAVE_QUIT;
+
 	  retval = elt->eval (silent, nargout, function_body);
 
 	  if (error_state)