diff src/lex.l @ 8812:7d48766c21a5

use consistent format for doc strings of internal functions
author John W. Eaton <jwe@octave.org>
date Thu, 19 Feb 2009 02:16:34 -0500
parents 026c6732ec7a
children 8ed42c679af5
line wrap: on
line diff
--- a/src/lex.l	Wed Feb 18 23:34:03 2009 -0500
+++ b/src/lex.l	Thu Feb 19 02:16:34 2009 -0500
@@ -3557,7 +3557,7 @@
 
 DEFUN (__display_tokens__, args, nargout,
   "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {} __display_tokens__\n\
+@deftypefn {Built-in Function} {} __display_tokens__ ()\n\
 Query or set the internal variable that determines whether Octave's\n\
 lexer displays tokens as they are read.\n\
 @end deftypefn")
@@ -3567,7 +3567,7 @@
 
 DEFUN (__token_count__, , ,
   "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {} __token_count__\n\
+@deftypefn {Built-in Function} {} __token_count__ ()\n\
 Number of language tokens processed since Octave startup.\n\
 @end deftypefn")
 {
@@ -3575,7 +3575,10 @@
 }
 
 DEFUN (__lexer_debug_flag__, args, nargout,
-  "Undocumented internal function.")
+  "-*- texinfo -*-\n\
+@deftypefn {Built-in Function} {@var{old_val} =} __lexer_debug_flag__ (@var{new_val}))\n\
+Undocumented internal function.\n\
+@end deftypefn")
 {
   octave_value retval;