mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Lexer: Added end-boundary sensitivity to ::isLiteral and ::isOneOf
This commit is contained in:
parent
3e74aa51e2
commit
391d527328
2 changed files with 12 additions and 10 deletions
|
@ -105,8 +105,8 @@ public:
|
|||
bool isDOM (std::string&, Lexer::Type&);
|
||||
bool isIdentifier (std::string&, Lexer::Type&);
|
||||
bool isWord (std::string&, Lexer::Type&);
|
||||
bool isLiteral (const std::string&);
|
||||
bool isOneOf (const std::vector <std::string>&);
|
||||
bool isLiteral (const std::string&, bool);
|
||||
bool isOneOf (const std::vector <std::string>&, bool);
|
||||
|
||||
private:
|
||||
std::string _text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue