Fixed bug with comments at the end of if/for condition triggering an
error