Fixes strack overflow bug when parsing long multiline comments