changeset 23938:e54e13ee99ce

openvar: fix doc string declaration * octave-link.cc (Fopenvar): Fix syntax for declaring a builtin doc string. Also fix and reword the texinfo syntax.
author Mike Miller <mtmiller@octave.org>
date Thu, 24 Aug 2017 10:55:24 -0700
parents 800ee793bd5a
children fd6b1339689f
files libinterp/corefcn/octave-link.cc
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/octave-link.cc	Thu Aug 24 10:53:58 2017 -0700
+++ b/libinterp/corefcn/octave-link.cc	Thu Aug 24 10:55:24 2017 -0700
@@ -383,10 +383,10 @@
 }
 
 DEFUN (openvar, args, ,
-       "-*- texinfo -*-\n\
-@deftypefn  {Built-in Function} openvar (@var{name})\n\
-Open the variable @var{name} in the GUI Variable Editor.\n\
-@end deftypefn")
+       doc: /* -*- texinfo -*-
+@deftypefn {} {} openvar (@var{name})
+Open the variable @var{name} in the graphical Variable Editor.
+@end deftypefn */)
 {
   octave_value retval;