Mercurial > octave
comparison libinterp/parse-tree/lex.ll @ 20895:7697a3433e37
doc: Remove class of function from docstring from generated C++ files.
* mk-opts.pl, lex.ll, oct-parse.in.yy: Remove class of function from
@deftypefn.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 14 Dec 2015 14:22:57 -0800 |
parents | 14cd86258b3d |
children | 9db35d2042be |
comparison
equal
deleted
inserted
replaced
20894:e528d7ab1cad | 20895:7697a3433e37 |
---|---|
1900 && ! (s == "set" || s == "get")); | 1900 && ! (s == "set" || s == "get")); |
1901 } | 1901 } |
1902 | 1902 |
1903 DEFUN (iskeyword, args, , | 1903 DEFUN (iskeyword, args, , |
1904 "-*- texinfo -*-\n\ | 1904 "-*- texinfo -*-\n\ |
1905 @deftypefn {Built-in Function} {} iskeyword ()\n\ | 1905 @deftypefn {} {} iskeyword ()\n\ |
1906 @deftypefnx {Built-in Function} {} iskeyword (@var{name})\n\ | 1906 @deftypefnx {} {} iskeyword (@var{name})\n\ |
1907 Return true if @var{name} is an Octave keyword.\n\ | 1907 Return true if @var{name} is an Octave keyword.\n\ |
1908 \n\ | 1908 \n\ |
1909 If @var{name} is omitted, return a list of keywords.\n\ | 1909 If @var{name} is omitted, return a list of keywords.\n\ |
1910 @seealso{isvarname, exist}\n\ | 1910 @seealso{isvarname, exist}\n\ |
1911 @end deftypefn") | 1911 @end deftypefn") |
1960 | 1960 |
1961 */ | 1961 */ |
1962 | 1962 |
1963 DEFUN (__display_tokens__, args, nargout, | 1963 DEFUN (__display_tokens__, args, nargout, |
1964 "-*- texinfo -*-\n\ | 1964 "-*- texinfo -*-\n\ |
1965 @deftypefn {Built-in Function} {} __display_tokens__ ()\n\ | 1965 @deftypefn {} {} __display_tokens__ ()\n\ |
1966 Query or set the internal variable that determines whether Octave's\n\ | 1966 Query or set the internal variable that determines whether Octave's\n\ |
1967 lexer displays tokens as they are read.\n\ | 1967 lexer displays tokens as they are read.\n\ |
1968 @seealso{__lexer_debug_flag__, __token_count__}\n\ | 1968 @seealso{__lexer_debug_flag__, __token_count__}\n\ |
1969 @end deftypefn") | 1969 @end deftypefn") |
1970 { | 1970 { |
1971 return SET_INTERNAL_VARIABLE (display_tokens); | 1971 return SET_INTERNAL_VARIABLE (display_tokens); |
1972 } | 1972 } |
1973 | 1973 |
1974 DEFUN (__token_count__, , , | 1974 DEFUN (__token_count__, , , |
1975 "-*- texinfo -*-\n\ | 1975 "-*- texinfo -*-\n\ |
1976 @deftypefn {Built-in Function} {} __token_count__ ()\n\ | 1976 @deftypefn {} {} __token_count__ ()\n\ |
1977 Return the number of language tokens processed since Octave startup.\n\ | 1977 Return the number of language tokens processed since Octave startup.\n\ |
1978 @seealso{__lexer_debug_flag__, __display_tokens__}\n\ | 1978 @seealso{__lexer_debug_flag__, __display_tokens__}\n\ |
1979 @end deftypefn") | 1979 @end deftypefn") |
1980 { | 1980 { |
1981 return octave_value (Vtoken_count); | 1981 return octave_value (Vtoken_count); |
1982 } | 1982 } |
1983 | 1983 |
1984 DEFUN (__lexer_debug_flag__, args, nargout, | 1984 DEFUN (__lexer_debug_flag__, args, nargout, |
1985 "-*- texinfo -*-\n\ | 1985 "-*- texinfo -*-\n\ |
1986 @deftypefn {Built-in Function} {@var{val} =} __lexer_debug_flag__ ()\n\ | 1986 @deftypefn {} {@var{val} =} __lexer_debug_flag__ ()\n\ |
1987 @deftypefnx {Built-in Function} {@var{old_val} =} __lexer_debug_flag__ (@var{new_val})\n\ | 1987 @deftypefnx {} {@var{old_val} =} __lexer_debug_flag__ (@var{new_val})\n\ |
1988 Query or set the internal flag that determines whether Octave's lexer prints\n\ | 1988 Query or set the internal flag that determines whether Octave's lexer prints\n\ |
1989 debug information as it processes an expression.\n\ | 1989 debug information as it processes an expression.\n\ |
1990 @seealso{__display_tokens__, __token_count__, __parse_debug_flag__}\n\ | 1990 @seealso{__display_tokens__, __token_count__, __parse_debug_flag__}\n\ |
1991 @end deftypefn") | 1991 @end deftypefn") |
1992 { | 1992 { |