diff src/ls-mat-ascii.cc @ 10142:829e69ec3110

make OCTAVE_QUIT a function
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 20 Jan 2010 10:38:00 +0100
parents c6edba80dfae
children cd96d29c5efa
line wrap: on
line diff
--- a/src/ls-mat-ascii.cc	Wed Jan 20 09:32:02 2010 +0100
+++ b/src/ls-mat-ascii.cc	Wed Jan 20 10:38:00 2010 +0100
@@ -118,7 +118,7 @@
 
   while (is && ! error_state)
     {
-      OCTAVE_QUIT;
+      octave_quit ();
 
       std::string buf = get_mat_data_input_line (is);
 
@@ -235,7 +235,7 @@
 
       get_lines_and_columns (is, filename, nr, nc);
 
-      OCTAVE_QUIT;
+      octave_quit ();
 
       if (! error_state && nr > 0 && nc > 0)
 	{
@@ -254,7 +254,7 @@
 
 		  for (octave_idx_type j = 0; j < nc; j++)
 		    {
-		      OCTAVE_QUIT;
+		      octave_quit ();
 
 		      d = octave_read_value<double> (tmp_stream);