mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
polishing the scribe -c++ case
This commit is contained in:
parent
42157161e0
commit
7ea9f92492
1 changed files with 1 additions and 14 deletions
|
@ -192,21 +192,8 @@ int main (int argc, char** argv) {
|
|||
targetStringStream << "#ifndef scribe_" << targetName << "_h" << std::endl;
|
||||
targetStringStream << "#define scribe_" << targetName << "_h" << std::endl << std::endl;
|
||||
|
||||
targetStringStream << "const char " << targetName << "[] = R\"XXX(" << destStringStream.str() << ")XXX\";";
|
||||
/*
|
||||
targetStringStream << "const char " << targetName << "[] = {\n";
|
||||
targetStringStream << "const char " << targetName << "[] = R\"XXXX(" << destStringStream.str() << ")XXXX\";";
|
||||
|
||||
std::stringstream destStringStreamAgain(destStringStream.str());
|
||||
while (!destStringStreamAgain.eof()) {
|
||||
std::string line;
|
||||
std::getline(destStringStreamAgain, line);
|
||||
|
||||
|
||||
if (line.find_first_of('/t') )
|
||||
targetStringStream << "\"" << line << "\\n\"" << std::endl;
|
||||
}
|
||||
targetStringStream << "};" << std::endl << std::endl;
|
||||
*/
|
||||
targetStringStream << std::endl << std::endl;
|
||||
targetStringStream << "#endif" << std::endl;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue