diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-09-28 18:41:49 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-12-22 10:35:00 +0100 |
commit | 79bd8d2ab6cae1c0be3233a9a7551d0b7bcc5944 (patch) | |
tree | 5335e3950295d4342322976a07a76d9a1a642ed9 /src/tree_sitter/language.h | |
parent | 781c708c27816b07f1d20a333151886044534fab (diff) | |
download | rneovim-79bd8d2ab6cae1c0be3233a9a7551d0b7bcc5944.tar.gz rneovim-79bd8d2ab6cae1c0be3233a9a7551d0b7bcc5944.tar.bz2 rneovim-79bd8d2ab6cae1c0be3233a9a7551d0b7bcc5944.zip |
tree-sitter: update vendored tree-sitter runtime
tree-sitter/tree-sitter commit edb569310005c66838b7d69fa60850acac6abeee
Included files are:
lib/include/tree-sitter/*.h
lib/src/*.[ch]
lib/src/unicode/*
LICENSE
Diffstat (limited to 'src/tree_sitter/language.h')
-rw-r--r-- | src/tree_sitter/language.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tree_sitter/language.h b/src/tree_sitter/language.h index 0741486a1b..d7e17c3d70 100644 --- a/src/tree_sitter/language.h +++ b/src/tree_sitter/language.h @@ -10,6 +10,7 @@ extern "C" { #define ts_builtin_sym_error_repeat (ts_builtin_sym_error - 1) #define TREE_SITTER_LANGUAGE_VERSION_WITH_FIELDS 10 +#define TREE_SITTER_LANGUAGE_VERSION_WITH_SYMBOL_DEDUPING 11 #define TREE_SITTER_LANGUAGE_VERSION_WITH_SMALL_STATES 11 typedef struct { @@ -22,6 +23,8 @@ void ts_language_table_entry(const TSLanguage *, TSStateId, TSSymbol, TableEntry TSSymbolMetadata ts_language_symbol_metadata(const TSLanguage *, TSSymbol); +TSSymbol ts_language_public_symbol(const TSLanguage *, TSSymbol); + static inline bool ts_language_is_symbol_external(const TSLanguage *self, TSSymbol symbol) { return 0 < symbol && symbol < self->external_token_count + 1; } |