From 15a56fcb5f29b8507298144a835a819de652e788 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 14 Mar 2020 15:24:23 +0100 Subject: Prepare DFA --- cpp.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cpp.cpp') diff --git a/cpp.cpp b/cpp.cpp index fc614be..714045b 100644 --- a/cpp.cpp +++ b/cpp.cpp @@ -186,15 +186,6 @@ std::vector CPP::tokens_from_pptokens(std::pair& tokens) -{ - for (auto& i : tokens) { - if (i.type == "preprocessing-op-or-punc") - i.type = i.value; - } -} - // Phase 7.b: Grammar Analysis std::pair> analysis(std::vector) { -- cgit v1.2.3