summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-03-27 12:23:10 -0400
committerKevin Newton <[email protected]>2024-03-27 13:03:11 -0400
commita69f0047cb489c136001937442c1d2ffd8ea1dd7 ()
tree5e391c60daf4913a03ddae4ac2ab6ed521bd4967
parent9b816e674a4ecadde047212827e3bbe87cd61345 (diff)
[PRISM] Use new error formatting API
-rw-r--r--prism_compile.c2
1 files changed, 1 insertions, 1 deletions
@@ -8398,7 +8398,7 @@ pm_parse_process_error(const pm_parse_result_t *result)
pm_buffer_append_string(&buffer, "syntax errors found\n", 20);
if (valid_utf8) {
- pm_parser_errors_format(&result->parser, &buffer, rb_stderr_tty_p());
}
else {
const pm_string_t *filepath = &result->parser.filepath;