changeset 15487:afc002de3ade

Don't filter out Texinfo comments in built-in docstrings file. * help.cc (install_built_in_docstrings): Don't filter out Texinfo comments in built-in docstrings file. Remove stray "octave_time t2" declaration.
author Rik <rik@octave.org>
date Wed, 03 Oct 2012 09:41:14 -0700
parents d5c04a5c8817
children ecf5be238b4a
files libinterp/interpfcn/help.cc
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/interpfcn/help.cc
+++ b/libinterp/interpfcn/help.cc
@@ -986,13 +986,6 @@
               if (fp)
                 {
                   tmp = tmp.substr (pos+1);
-
-                  while (tmp.length () > 2 && tmp[0] == '@' && tmp[1] == 'c')
-                    {
-                      pos = tmp.find ('\n');
-                      tmp = tmp.substr (pos+1);
-                    }
-
                   fp->document (tmp);
                 }
             }
@@ -1006,7 +999,6 @@
                 << std::endl;
     }
 
-  octave_time t2;
 }
 
 static void