diff libinterp/corefcn/oct-stream.cc @ 22737:7abc25e6206a

maint: Clean up code base to follow Octave coding conventions. Space between '!' and expression that follows. Eliminate whitespace at end of line. Use '#' rather than '%' for comment character. * ButtonGroup.cc, ListBoxControl.cc, file-editor-tab.cc, file-editor.cc, bsxfun.cc, cellfun.cc, conv2.cc, data.cc, dot.cc, fft2.cc, file-io.cc, filter.cc, graphics.cc, kron.cc, oct-stream.cc, quadcc.cc, spparms.cc, sylvester.cc, convhulln.cc, qr.cc, ov-class.cc, ov-cx-mat.cc, ov-usr-fcn.cc, pt.h, Array.cc, gsvd.h, inputdlg.m, krylov.m, shrinkfaces.m, padecoef.m, polyout.m, durbinlevinson.m: maint: Clean up code base to follow Octave coding conventions.
author Rik <rik@octave.org>
date Tue, 08 Nov 2016 10:01:17 -0800
parents 34ce5be04942
children 3a2b891d0b33
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.cc	Mon Nov 07 15:48:46 2016 -0800
+++ b/libinterp/corefcn/oct-stream.cc	Tue Nov 08 10:01:17 2016 -0800
@@ -3485,7 +3485,7 @@
           {
             is.clear (is.rdstate () & ~std::ios::failbit);
 
-            if (!is.eof () && ~is_delim (is.peek ()))
+            if (! is.eof () && ~is_delim (is.peek ()))
               this_conversion_failed = true;
           }
 
@@ -3522,7 +3522,7 @@
             else
               this_conversion_failed = false;
           }
-        else if (! done && !conversion_failed)
+        else if (! done && ! conversion_failed)
           nothing_worked = false;
       }