mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[PRISM] Use only bundled error formatting
This commit is contained in:
parent
ba336027be
commit
47b723f890
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user