Added getLastPosition() to the sloppy parser