From 7576b0b4485343902f54ab1dbe0464dd7ef4f920 Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Wed, 5 Aug 2020 12:21:42 -0400 Subject: [PATCH] Add accessor to the C header. --- tags/include/tree_sitter/tags.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tags/include/tree_sitter/tags.h b/tags/include/tree_sitter/tags.h index f2b17075..42109bee 100644 --- a/tags/include/tree_sitter/tags.h +++ b/tags/include/tree_sitter/tags.h @@ -88,6 +88,9 @@ uint32_t ts_tags_buffer_docs_len(const TSTagsBuffer *); // Get the syntax kinds for a scope. 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(); + #ifdef __cplusplus } #endif