Add accessor to the C header.

This commit is contained in:
Patrick Thomson 2020-08-05 12:21:42 -04:00
parent 94ab884ee4
commit 7576b0b448

View file

@ -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