From b97f6b86b85553acd3863ee18a67b8868e0ea7b4 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 25 Jan 2020 13:31:51 +0100 Subject: Refactor, fix missing files --- lexer.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lexer.cpp') diff --git a/lexer.cpp b/lexer.cpp index a0681f4..3b26c52 100644 --- a/lexer.cpp +++ b/lexer.cpp @@ -292,11 +292,3 @@ std::vector Lexer::Lex(const std::string& s) return result; } -// TODO: C++: Preprocessor Tokens To Tokens -void Lexer::PreprocessorTokensToTokens(std::vector& tokens) -{ - for (auto& i : tokens) { - if (i.type == "preprocessing-op-or-punc") - i.type = i.value; - } -} -- cgit v1.2.3