diff --git a/tags/include/tree_sitter/tags.h b/tags/include/tree_sitter/tags.h index 42109bee..773113d7 100644 --- a/tags/include/tree_sitter/tags.h +++ b/tags/include/tree_sitter/tags.h @@ -89,7 +89,7 @@ uint32_t ts_tags_buffer_docs_len(const TSTagsBuffer *); const char **ts_tagger_syntax_kinds_for_scope_name(const TSTagger *, const char *scope_name, uint32_t *len); // Determine whether a parse error was encountered while tagging. -bool ts_tagger_errors_present(); +bool ts_tags_buffer_found_parse_error(); #ifdef __cplusplus } diff --git a/tags/src/c_lib.rs b/tags/src/c_lib.rs index 84f8c97b..8cb5abb4 100644 --- a/tags/src/c_lib.rs +++ b/tags/src/c_lib.rs @@ -222,7 +222,7 @@ pub extern "C" fn ts_tags_buffer_docs_len(this: *const TSTagsBuffer) -> u32 { } #[no_mangle] -pub extern "C" fn ts_tagger_errors_present(this: *const TSTagsBuffer) -> bool { +pub extern "C" fn ts_tags_buffer_found_parse_error(this: *const TSTagsBuffer) -> bool { let buffer = unwrap_ptr(this); buffer.errors_present }