deduplicated 'printf.s', over 200 bytes saved in BASIC segment
This commit is contained in:
1 parent
94b8e0dc29
commit
332438145c
4 files changed
+32
-201
No files matched your search
@@ -524,6 +524,7 @@ void compileSegment()
|
||||
", outBin=\"" << CMD_outFile << "\", fill]" <<
|
||||
"\n";
|
||||
outFile << "#define SEGMENT_" << CMD_segName << "\n";
|
||||
outFile << ".namespace " << CMD_segName << " {" << "\n\n";
|
||||
|
||||
// Write files which only contain definitions (no routines)
|
||||
|
||||
@@ -548,6 +549,8 @@ void compileSegment()
|
||||
outFile << "\n";
|
||||
}
|
||||
|
||||
outFile << "\n\n" << "} // namespace" << "\n";
|
||||
|
||||
if (!outFile.good()) ERROR(std::string("error writing temporary file '") + outFileNamePath + "'");
|
||||
outFile.close();
|
||||
|
||||
|
||||
Reference in new issue
Block a user