Improve ParseTree positions in case of syntax errors.