Skip to content
Prev Previous commit
Next Next commit
more temp printing
  • Loading branch information
Tal500 authored May 21, 2025
commit aa07c7a6dd0638ba83b39126b2bb52b8d018e022
2 changes: 2 additions & 0 deletions externals/simplecpp/simplecpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3658,6 +3658,8 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
if (dui.removeComments)
tokens->removeComments();
if (filedata.find(header2) != filedata.end()) {
std::cout << "header: " << header << "header2: " << header2 << std::endl;
std::cerr << "header: " << header << "header2: " << header2 << std::endl;
throw "header2 is already there!" + header2;
}
filedata[header2] = tokens;
Expand Down
Loading