Mercurial > octave
diff libinterp/parse-tree/lex.h @ 28264:d938c4d22200 stable
handle comments in multi-line statements with push parser/lexer (bug #58198)
* lex.h, lex.ll (base_lexer::pending_token_count): New function.
(<LINE_COMMENT_START>{ANY_INCLUDING_NL}): Use it to determine whether
to return expecting more input or as if a complete statement has been
parsed.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 05 May 2020 01:01:39 -0400 |
parents | 22cddebcb0d0 |
children | 808e3964987b |
line wrap: on
line diff