changeset 3844:87f85453b6b7

[project @ 2001-07-23 20:07:45 by jwe]
author jwe
date Mon, 23 Jul 2001 20:07:46 +0000
parents f848bc60b927
children d68c34dc9c25
files src/ChangeLog src/parse.y
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jun 29 21:10:21 2001 +0000
+++ b/src/ChangeLog	Mon Jul 23 20:07:46 2001 +0000
@@ -1,3 +1,7 @@
+2001-07-23  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* parse.y: Clear help_buf after documenting function.
+
 2001-06-29  Mumit Khan  <khan@nanotech.wisc.edu>
 
 	* defun-int.h (DEFINE_FUN_INSTALLER_FUN{2,3}): New macros.
--- a/src/parse.y	Fri Jun 29 21:10:21 2001 +0000
+++ b/src/parse.y	Mon Jul 23 20:07:46 2001 +0000
@@ -2502,6 +2502,8 @@
 
   id->document (help_buf);
 
+  help_buf.resize (0);
+
   return fcn;
 }
 
@@ -3284,9 +3286,9 @@
 }
 
 // Evaluate an Octave function (built-in or interpreted) and return
-// the list of result values.  the results.  NAME is the name of the
-// function to call.  ARGS are the arguments to the function.  NARGOUT
-// is the number of output arguments expected.
+// the list of result values.  NAME is the name of the function to
+// call.  ARGS are the arguments to the function.  NARGOUT is the
+// number of output arguments expected. 
 
 octave_value_list
 feval (const std::string& name, const octave_value_list& args, int nargout)