changeset 13176:9b8e786bbf3c

maint: use specific endif, endfor tokens instead of simple end * strread.m, __go_draw_axes__.m, ppval.m: Use specific endif, endfor tokens instead of simple end.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Sep 2011 15:41:35 -0400
parents 8aaaef4a69aa
children 17b702fae303
files scripts/io/strread.m scripts/plot/private/__go_draw_axes__.m scripts/polynomial/ppval.m
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/io/strread.m	Tue Sep 20 15:38:24 2011 -0400
+++ b/scripts/io/strread.m	Tue Sep 20 15:41:35 2011 -0400
@@ -599,7 +599,7 @@
             ## Cast to integer
             ## FIXME: NaNs will be transformed into zeros
             data = int32 (data);
-          end
+          endif
           data(n) = numeric_fill_value;
           if (pad_out)
             data(end+1:num_lines) = numeric_fill_value;
@@ -626,7 +626,7 @@
                 ## Cast to integer
                 ## FIXME: NaNs will be transformed into zeros
                 data = int32 (data);
-              end
+              endif
               varargout{k} = data.';
               k++;
             case "s"
--- a/scripts/plot/private/__go_draw_axes__.m	Tue Sep 20 15:38:24 2011 -0400
+++ b/scripts/plot/private/__go_draw_axes__.m	Tue Sep 20 15:41:35 2011 -0400
@@ -386,7 +386,7 @@
       ytick = axis_obj.ytick
       yticklabel = axis_obj.yticklabel
       yticklabelmode = axis_obj.yticklabelmode
-    end
+    endif
 
     xlim = axis_obj.xlim;
     ylim = axis_obj.ylim;
--- a/scripts/polynomial/ppval.m	Tue Sep 20 15:38:24 2011 -0400
+++ b/scripts/polynomial/ppval.m	Tue Sep 20 15:41:35 2011 -0400
@@ -69,7 +69,7 @@
     Pidx = reshape (Pidx, [sxi, k, d]);
     Pidx = shiftdim (Pidx, length (sxi));
     dimvec = [d, sxi];
-  end
+  endif
   ndv = length (dimvec);
 
   ## Offsets.