diff options
Diffstat (limited to 'cpp.cpp')
-rw-r--r-- | cpp.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#include "cpp.h" + +void CPP::PreprocessorTokensToTokens(std::vector<Token>& tokens) +{ + for (auto& i : tokens) { + if (i.type == "preprocessing-op-or-punc") + i.type = i.value; + } +} + |