aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 33dea569b24..0e1e98664b3 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1184,7 +1184,8 @@ insert_from_buffer (struct buffer *buf,
1184 update_compositions (opoint, PT, CHECK_BORDER); 1184 update_compositions (opoint, PT, CHECK_BORDER);
1185 1185
1186#ifdef HAVE_TREE_SITTER 1186#ifdef HAVE_TREE_SITTER
1187 eassert (PT_BYTE >= 0); 1187 eassert (PT_BYTE >= BEG_BYTE);
1188 eassert (obyte >= BEG_BYTE);
1188 eassert (PT_BYTE >= obyte); 1189 eassert (PT_BYTE >= obyte);
1189 treesit_record_change (obyte, obyte, PT_BYTE); 1190 treesit_record_change (obyte, obyte, PT_BYTE);
1190#endif 1191#endif