changeset 10879:5af852c93af3

oct-parse.yy: Restore parsing of help text.
author Rik <octave@nomad.inbox5.com>
date Mon, 09 Aug 2010 21:16:05 -0700
parents c318b70bf437
children 92c3e8068f28
files src/ChangeLog src/oct-parse.yy
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-09  Rik <octave@nomad.inbox5.com>
+
+	* oct-parse.yy (parse_fcn_file): Restore parsing of help text
+	accidentally lost in previous changeset.
+
 2010-08-09  John W. Eaton  <jwe@octave.org>
 
 	* oct-parse.yy (parse_fcn_file): Handle empty script files
--- a/src/oct-parse.yy
+++ b/src/oct-parse.yy
@@ -3556,6 +3556,9 @@
           symbol_table::scope_id scope = symbol_table::top_scope ();
           frame.add_fcn (symbol_table::unmark_forced_variables, scope);
 
+          if (! help_txt.empty ())
+            help_buf.push (help_txt);
+
           if (reading_script_file)
             prep_lexer_for_script_file ();
           else