mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Lexer
- Implemented an overload of ::token_split that preserveѕ types.
This commit is contained in:
parent
a892abf366
commit
7d4e166277
2 changed files with 14 additions and 0 deletions
|
@ -67,6 +67,7 @@ public:
|
|||
static bool is_ws (int);
|
||||
static void word_split (std::vector <std::string>&, const std::string&);
|
||||
static void token_split (std::vector <std::string>&, const std::string&);
|
||||
static void token_split (std::vector <std::pair <std::string, Lexer::Type> >&, const std::string&);
|
||||
|
||||
private:
|
||||
bool is_punct (int) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue