blob: d9f2efb3b8e9884901145c1f9b5d191d4cf97a02 (
plain)
1
2
3
4
5
6
7
8
9
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;
}
}
|