[PRISM] Use only bundled error formatting

This commit is contained in:
Kevin Newton 2024-05-24 13:05:35 -04:00
parent ba336027be
commit 47b723f890
No known key found for this signature in database
GPG key ID: 0EAD74C79EC73F26

View file

@ -9622,7 +9622,7 @@ pm_parse_process_error(const pm_parse_result_t *result)
);
if (valid_utf8) {
pm_parser_errors_format(parser, &parser->error_list, &buffer, rb_stderr_tty_p(), true);
pm_parse_errors_format(parser, &parser->error_list, &buffer, rb_stderr_tty_p(), true);
}
else {
for (const pm_diagnostic_t *error = head; error != NULL; error = (const pm_diagnostic_t *) error->node.next) {