summaryrefslogtreecommitdiff
path: root/src/treesit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/treesit.h')
-rw-r--r--src/treesit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/treesit.h b/src/treesit.h
index d6bada5b360..169d8819d77 100644
--- a/src/treesit.h
+++ b/src/treesit.h
@@ -65,6 +65,9 @@ struct Lisp_TS_Parser
/* If this field is true, parser functions raises
treesit-parser-deleted signal. */
bool deleted;
+ /* If this field is true, the parser has ranges set. See
+ Ftreesit_parser_included_ranges for why we need this. */
+ bool has_range;
};
/* A wrapper around a tree-sitter node. */