Mercurial > octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
31089:9da8bb2974d7 | 31090:1779a64b2510 |
---|---|
2925 push_token (tok_val); | 2925 push_token (tok_val); |
2926 | 2926 |
2927 return kw->tok; | 2927 return kw->tok; |
2928 } | 2928 } |
2929 | 2929 |
2930 /* | |
2931 | |
2932 ## check if magic file and line keywords are working | |
2933 %!assert <*62587> (ischar (__FILE__)) | |
2934 %!assert <*62587> (isnumeric (__LINE__)) | |
2935 | |
2936 */ | |
2937 | |
2930 bool | 2938 bool |
2931 base_lexer::fq_identifier_contains_keyword (const std::string& s) | 2939 base_lexer::fq_identifier_contains_keyword (const std::string& s) |
2932 { | 2940 { |
2933 std::size_t p1 = 0; | 2941 std::size_t p1 = 0; |
2934 std::size_t p2; | 2942 std::size_t p2; |