changeset 11086:af03ff97df7b

datevec.m: use endfunction to mark end of primary function and subfunctions
author John W. Eaton <jwe@octave.org>
date Thu, 07 Oct 2010 17:47:07 -0400
parents 2beacd515e09
children f42f6fc27cc0
files scripts/ChangeLog scripts/time/datevec.m
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-07  John W. Eaton  <jwe@octave.org>
+
+	* time/datevec.m: Use endfunction to mark end of primary
+	function and subfunctions.
+
 2010-10-07  Rik <octave@nomad.inbox5.com>
 
 	* scripts/polynomial/conv.m: Improve docstring.
--- a/scripts/time/datevec.m
+++ b/scripts/time/datevec.m
@@ -182,7 +182,7 @@
     y = [y, m, d, h, mi, s];
   endif
 
-### endfunction
+endfunction
 
 function [f, rY, ry, fy, fm, fd, fh, fmi, fs] = __date_vfmt2sfmt__ (f)
 
@@ -259,7 +259,7 @@
   fmi = index (f, "%M");
   fs = index (f, "%S");
 
-### endfunction
+endfunction
 
 function [found, y, m, d, h, mi, s] = __date_str2vec__ (ds, p, f, rY, ry, fy, fm, fd, fh, fmi, fs)
 
@@ -302,7 +302,7 @@
     found = false;
   endif
 
-### endfunction
+endfunction
 
 %!shared nowvec
 %! nowvec = datevec (now); # Some tests could fail around midnight!