Mercurial > hg > octave-nkf
comparison src/pt-loop.cc @ 4153:6b96ce9f5743
[project @ 2002-11-06 20:38:49 by jwe]
author | jwe |
---|---|
date | Wed, 06 Nov 2002 20:38:50 +0000 |
parents | a0c710c20da5 |
children | 2aea727f516f |
comparison
equal
deleted
inserted
replaced
4152:f14251d33b01 | 4153:6b96ce9f5743 |
---|---|
25 #endif | 25 #endif |
26 | 26 |
27 #ifdef HAVE_CONFIG_H | 27 #ifdef HAVE_CONFIG_H |
28 #include <config.h> | 28 #include <config.h> |
29 #endif | 29 #endif |
30 | |
31 #include "quit.h" | |
30 | 32 |
31 #include "error.h" | 33 #include "error.h" |
32 #include "gripes.h" | 34 #include "gripes.h" |
33 #include "oct-map.h" | 35 #include "oct-map.h" |
34 #include "oct-lvalue.h" | 36 #include "oct-lvalue.h" |
48 | 50 |
49 // Decide if it's time to quit a for or while loop. | 51 // Decide if it's time to quit a for or while loop. |
50 static inline bool | 52 static inline bool |
51 quit_loop_now (void) | 53 quit_loop_now (void) |
52 { | 54 { |
55 OCTAVE_QUIT; | |
56 | |
53 // Maybe handle `continue N' someday... | 57 // Maybe handle `continue N' someday... |
54 | 58 |
55 if (tree_continue_command::continuing) | 59 if (tree_continue_command::continuing) |
56 tree_continue_command::continuing--; | 60 tree_continue_command::continuing--; |
57 | 61 |