mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Lexer
- Refactored (step 1) the ISO and Legacy date/duration parsing for lexer state machine breakout.
This commit is contained in:
parent
d54afc844c
commit
65f979cb4f
2 changed files with 75 additions and 60 deletions
|
@ -71,6 +71,8 @@ public:
|
|||
static void token_split (std::vector <std::pair <std::string, Lexer::Type> >&, const std::string&);
|
||||
|
||||
private:
|
||||
bool is_date (std::string&);
|
||||
bool is_duration (std::string&);
|
||||
bool is_punct (int) const;
|
||||
bool is_num (int) const;
|
||||
bool is_ident_start (int) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue