summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-10-17 13:11:13 +0300
committerEli Zaretskii <eliz@gnu.org>2022-10-17 13:11:13 +0300
commit02f78c09b0a97ba044a43682a366a9d7732b885d (patch)
treecf4b816c2e021f457c6917760150aa8925c2c9f9 /src/alloc.c
parent170924e945f4cceda12b5e1681391c3b828a3dec (diff)
downloademacs-02f78c09b0a97ba044a43682a366a9d7732b885d.tar.gz
; Rename ts_* symbols in treesit.c
* src/treesit.c: Rename all ts_* functions and variables to treesit_*; all references changed. Fix whitespace.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7197c183beb..4b6f9b57b38 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3171,9 +3171,9 @@ cleanup_vector (struct Lisp_Vector *vector)
}
#ifdef HAVE_TREE_SITTER
else if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_TS_PARSER))
- ts_delete_parser (PSEUDOVEC_STRUCT (vector, Lisp_TS_Parser));
+ treesit_delete_parser (PSEUDOVEC_STRUCT (vector, Lisp_TS_Parser));
else if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_TS_COMPILED_QUERY))
- ts_delete_query (PSEUDOVEC_STRUCT (vector, Lisp_TS_Query));
+ treesit_delete_query (PSEUDOVEC_STRUCT (vector, Lisp_TS_Query));
#endif
#ifdef HAVE_MODULES
else if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_MODULE_FUNCTION))