emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a139c3d6d88 2/3: * src/treesit.h (struct Lisp_TS_Parser): Correct


From: Po Lu
Subject: master a139c3d6d88 2/3: * src/treesit.h (struct Lisp_TS_Parser): Correct merge error.
Date: Wed, 11 Sep 2024 01:26:37 -0400 (EDT)

branch: master
commit a139c3d6d888219bb3cb3c0c5a3eb6268c9b7a29
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * src/treesit.h (struct Lisp_TS_Parser): Correct merge error.
---
 src/treesit.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/treesit.h b/src/treesit.h
index 40b8b531ac4..14ffd553712 100644
--- a/src/treesit.h
+++ b/src/treesit.h
@@ -89,6 +89,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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]