diff options
Diffstat (limited to 'cpp.cpp')
-rw-r--r-- | cpp.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -186,15 +186,6 @@ std::vector<Token> CPP::tokens_from_pptokens(std::pair<index_t, std::vector<Tree return result; } -// TODO: remove in favor of tokens_from_pptokens() -void CPP::PreprocessorTokensToTokens(std::vector<Token>& tokens) -{ - for (auto& i : tokens) { - if (i.type == "preprocessing-op-or-punc") - i.type = i.value; - } -} - // Phase 7.b: Grammar Analysis std::pair<index_t, std::vector<Gram::TreeNode>> analysis(std::vector<Token>) { |