don't write comma on split

This commit is contained in:
Ramen2X 2024-03-17 16:26:42 -04:00
parent e03e14f4e4
commit ade9bd1d3f

View file

@ -126,7 +126,7 @@ bool HeaderGenerator::WriteHeader(char *p_interleafName, std::map<size_t, std::s
// actually write the enum entry
m_fout << "\t" << g_enumEntryPrefix << it->second << " = " << it->first;
if (!isLast) {
if (!isLast && i != 1999) {
// if there are still more entries, we need write a comma
m_fout << ",";
}