view CITATION @ 28147:648202bebcb0 stable

improve treatment of comments at interactive command line (bug #57924) * lex.ll (HANDLE_EOB_OR_EOF): New macro. (HANDLE_STRING_CONTINUATION, <BLOCK_COMMENT_START>^{S}*{CCHAR}\{{S}*{NL}, <BLOCK_COMMENT_START>^{S}*{CCHAR}\}{S}*{NL}, <BLOCK_COMMENT_START>{ANY_EXCEPT_NL}*{NL}, <LINE_COMMENT_START>{ANY_INCLUDING_NL}): Use HANDLE_EOB_OR_EOF to signal that we parsed a comment or need more input when using the push lexer interface. * oct-parse.yy (push_parser::run): Handle token value of -2 returned from the lexer to indicate that a comment was recognized.
author John W. Eaton <jwe@octave.org>
date Mon, 09 Mar 2020 10:24:07 -0400
parents 534684fb7bd7
children 844b3b9bab7a
line wrap: on
line source

To cite GNU Octave in publications use:

  John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2019).
  GNU Octave version 5.2.0 manual: a high-level interactive language for
  numerical computations.
  URL https://www.gnu.org/software/octave/doc/v5.2.0/

A BibTeX entry for LaTeX users is:

  @manual{,
    title     = {{GNU Octave} version 5.2.0 manual: a high-level interactive language for numerical computations},
    author    = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring},
    year      = {2020},
    url       = {https://www.gnu.org/software/octave/doc/v5.2.0/},
  }

We have invested a lot of time and effort in creating GNU Octave, please
cite it when using it.  See also 'citation pkgname' for citing Octave
packages.