Lexer
- Implemented an overload of ::token_split that preserveѕ types.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user