diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-06-03 21:33:34 +0200 | 
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-06-03 21:33:34 +0200 | 
| commit | 6b949211a06e21af67bf4cb3a20c6f87c932ef2a (patch) | |
| tree | 71ce622f361f96da0d565932da08e621a67187a2 /src/tree_sitter/stack.c | |
| parent | 6a93077475d298f46ac19c8030ed5b4a723685dc (diff) | |
| download | rneovim-6b949211a06e21af67bf4cb3a20c6f87c932ef2a.tar.gz rneovim-6b949211a06e21af67bf4cb3a20c6f87c932ef2a.tar.bz2 rneovim-6b949211a06e21af67bf4cb3a20c6f87c932ef2a.zip  | |
treesitter: update runtime
Update to 81d533d2d1b580fdb507accabc91ceddffb5b6f0.
Diffstat (limited to 'src/tree_sitter/stack.c')
| -rw-r--r-- | src/tree_sitter/stack.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tree_sitter/stack.c b/src/tree_sitter/stack.c index ade1577566..6ceee2577f 100644 --- a/src/tree_sitter/stack.c +++ b/src/tree_sitter/stack.c @@ -480,6 +480,7 @@ StackSliceArray ts_stack_pop_count(Stack *self, StackVersion version, uint32_t c  }  inline StackAction pop_pending_callback(void *payload, const StackIterator *iterator) { +  (void)payload;    if (iterator->subtree_count >= 1) {      if (iterator->is_pending) {        return StackActionPop | StackActionStop; @@ -532,6 +533,7 @@ SubtreeArray ts_stack_pop_error(Stack *self, StackVersion version) {  }  inline StackAction pop_all_callback(void *payload, const StackIterator *iterator) { +  (void)payload;    return iterator->node->link_count == 0 ? StackActionPop : StackActionNone;  }  | 
