| 787 | is.begin_ = ts.begin_; |
| 788 | } |
| 789 | void Preprocessor::IncludeSource(TokenSequence& is, const std::string* src, const std::string* filename) |
| 790 | { |
| 791 | TokenSequence ts{ is.tokList_, is.begin_, is.begin_ }; |
| 792 | Scanner scanner(src, filename); |
| 793 | scanner.Tokenize(ts); |
| 794 | |
| 795 | // We done including header file |
| 796 | is.begin_ = ts.begin_; |
| 797 | } |
| 798 | |
| 799 | |
| 800 | static std::string GetDir(const std::string& path) { |