function addError($error) { $this->errors[] = htmlentities($error . ' at ' . ($this->line_pos[0] + 1) . ', ' . ($this->pos - $this->line_pos[1] + 1) . '!'); }