diff scripts/help/__makeinfo__.m @ 13773:59e5f8e1d516

Fix block comment Texinfo not appearing in documentation * help.cc: Rephrase docstring for block comment operators. * __makeinfo__.m: Use greedy regexp to parse all of @seealso macro even when it contains a closing curly brace.
author Rik <octave@nomad.inbox5.com>
date Sun, 30 Oct 2011 16:57:03 -0700
parents 8c7caa009a1e
children 990762e784fe
line wrap: on
line diff
--- a/scripts/help/__makeinfo__.m
+++ b/scripts/help/__makeinfo__.m
@@ -92,7 +92,7 @@
   text = strrep (text, "\n ", "\n");
 
   ## Handle @seealso macro
-  see_also_pat = '@seealso *\{([^}]*)\}';
+  see_also_pat = '@seealso *\{(.*)\}';
   args = regexp (text, see_also_pat, 'tokens');
   for ii = 1:numel (args)
     expanded = fsee_also (strtrim (strsplit (args{ii}{:}, ',', true)));