Mercurial > jwe > octave
view CITATION @ 30136:a471bf0f78ba
allow for invalid filepos objects
* filepos.h (filepos::filepos (int, int)): Don't provide default values.
(filepos::filepos (void)): Initialize to invalid line and column positions.
(filepos::operator bool): New function.
(filepos::set): Delete.
* lex.h (lexical_feedback::lexical_feedback): Initialize filepos with
line and column == 1.
* lex.ll (lexical_feedback::reset): Set m_filepos to (1, 1).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 04 Sep 2021 07:50:08 -0400 |
parents | 844b3b9bab7a |
children | 8d7671609955 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2020). GNU Octave version 6.1.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v6.1.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 6.1.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/v6.1.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.