code: function addError($error) {
  		$this->errors[] = htmlentities($error.' at '.($this->line_pos[0] + 1).', '.($this->pos - $this->line_pos[1] + 1).'!');
  	}
docs: Add error to the array and appends current position
  @param string $error