From: Po Lu Date: Wed, 11 Sep 2024 05:25:48 +0000 (+0800) Subject: * src/treesit.h (struct Lisp_TS_Parser): Correct merge error. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebd2640abb04febcb5aabe482c30ee857f73ed2c;p=emacs.git * src/treesit.h (struct Lisp_TS_Parser): Correct merge error. (cherry picked from commit a139c3d6d888219bb3cb3c0c5a3eb6268c9b7a29) --- diff --git a/src/treesit.h b/src/treesit.h index cd84fa358c5..e20611eac67 100644 --- a/src/treesit.h +++ b/src/treesit.h @@ -86,6 +86,10 @@ struct Lisp_TS_Parser associated buffer. This is for parsers created by treesit-parse-string, which uses a hidden temp buffer. */ bool need_to_gc_buffer; + /* This field is set to true when treesit_ensure_parsed runs, to + prevent infinite recursion due to calling after change + functions. */ + bool within_reparse; }; /* A wrapper around a tree-sitter node. */