Mercurial > octave
diff libinterp/parse-tree/lex.ll @ 31090:1779a64b2510
maint: Merge stable to default
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 10 Jun 2022 18:57:17 -0400 |
parents | f0343b3685df 4b6f03d7264a |
children | 344e1152ed88 ef9c804676b9 |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll Fri Jun 10 14:46:45 2022 -0700 +++ b/libinterp/parse-tree/lex.ll Fri Jun 10 18:57:17 2022 -0400 @@ -2927,6 +2927,14 @@ return kw->tok; } +/* + +## check if magic file and line keywords are working +%!assert <*62587> (ischar (__FILE__)) +%!assert <*62587> (isnumeric (__LINE__)) + +*/ + bool base_lexer::fq_identifier_contains_keyword (const std::string& s) {