mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Fix comment removing defines proxy not properly removing multiple comments per line
This commit is contained in:
@ -29,6 +29,7 @@ ParserLine CommentRemovingStreamProxy::NextLine()
|
||||
if (c == '*' && i + 1 < line.m_line.size() && line.m_line[i + 1] == '/')
|
||||
{
|
||||
line.m_line.erase(multiLineCommentStart, i + 2 - multiLineCommentStart);
|
||||
i = multiLineCommentStart - 1;
|
||||
multiLineCommentStart = 0;
|
||||
m_inside_multi_line_comment = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user