summaryrefslogtreecommitdiffhomepage
path: root/lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.cpp')
-rw-r--r--lexer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lexer.cpp b/lexer.cpp
index a0681f4..3b26c52 100644
--- a/lexer.cpp
+++ b/lexer.cpp
@@ -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;
- }
-}