; * src/insdel.c (insert_from_buffer): Fix assertions.
This commit is contained in:
parent
41f497c8be
commit
ff9498624f
1 changed files with 2 additions and 1 deletions
|
@ -1184,7 +1184,8 @@ insert_from_buffer (struct buffer *buf,
|
||||||
update_compositions (opoint, PT, CHECK_BORDER);
|
update_compositions (opoint, PT, CHECK_BORDER);
|
||||||
|
|
||||||
#ifdef HAVE_TREE_SITTER
|
#ifdef HAVE_TREE_SITTER
|
||||||
eassert (PT_BYTE >= 0);
|
eassert (PT_BYTE >= BEG_BYTE);
|
||||||
|
eassert (obyte >= BEG_BYTE);
|
||||||
eassert (PT_BYTE >= obyte);
|
eassert (PT_BYTE >= obyte);
|
||||||
treesit_record_change (obyte, obyte, PT_BYTE);
|
treesit_record_change (obyte, obyte, PT_BYTE);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue