comparison libinterp/parse-tree/lex.h @ 28156:22cddebcb0d0 stable

allow @get and @set to work properly again (bug #57988) * lex.h, lex.ll (base_lexer::is_keyword_token): Delete. Replace all uses with iskeyword. (Fiskeyword): When creating list, also omit "enumeration", "events", "methods", and "properties". * keyword.tst: New file. * test/fcn-handle/module.mk: Update
author John W. Eaton <jwe@octave.org>
date Thu, 12 Mar 2020 23:51:49 -0400
parents 026bff6a54d7
children d938c4d22200
comparison
equal deleted inserted replaced
28154:e7fe6703a81f 28156:22cddebcb0d0
653 653
654 bool inside_any_object_index (void); 654 bool inside_any_object_index (void);
655 655
656 bool is_variable (const std::string& name, const symbol_scope& scope); 656 bool is_variable (const std::string& name, const symbol_scope& scope);
657 657
658 bool is_keyword_token (const std::string& s);
659
660 int make_keyword_token (const std::string& s); 658 int make_keyword_token (const std::string& s);
661 659
662 bool fq_identifier_contains_keyword (const std::string& s); 660 bool fq_identifier_contains_keyword (const std::string& s);
663 661
664 bool whitespace_is_significant (void); 662 bool whitespace_is_significant (void);