Hist tmphist;
if (!commentMap.empty()) {
auto it = commentMap.find(i + 1);
if (it != commentMap.end()) {
if (flag & ParseMoveListFlag_parseComment) {
_parseComment(it->second, tmphist);
} else {
if (!tmphist.comment.empty()) {
tmphist.comment + ", "; // SURELY THIS SHOULD BE += rather than + which has no effect
}
tmphist.comment += it->second;
}
hasComment = true;
}