diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-01-25 13:31:51 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-01-25 13:31:51 +0100 |
commit | b97f6b86b85553acd3863ee18a67b8868e0ea7b4 (patch) | |
tree | c20238f4cf70b735c488e5619d11a85da49b1bd3 /lexer.cpp | |
parent | c984c05f2f2d6c9cee4a0eb561fd7184786c5d1d (diff) |
Refactor, fix missing files
Diffstat (limited to 'lexer.cpp')
-rw-r--r-- | lexer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -292,11 +292,3 @@ std::vector<Token> Lexer::Lex(const std::string& s) return result; } -// TODO: C++: Preprocessor Tokens To Tokens -void Lexer::PreprocessorTokensToTokens(std::vector<Token>& tokens) -{ - for (auto& i : tokens) { - if (i.type == "preprocessing-op-or-punc") - i.type = i.value; - } -} |