From a2994c46f9a519fffa6aa2d06dba6d62a056040c Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 14 Jul 2005 11:24:18 +0000 Subject: [PATCH] (syms_of_syntax): Staticpro lisp objects in gl_state. Staticpro re_match_object. --- src/syntax.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/syntax.c b/src/syntax.c index 480fa6de82a..0b649ac0342 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -3168,6 +3168,14 @@ syms_of_syntax () staticpro (&Vsyntax_code_object); + staticpro (&gl_state.object); + staticpro (&gl_state.global_code); + staticpro (&gl_state.current_syntax_table); + staticpro (&gl_state.old_prop); + + /* Defined in regex.c */ + staticpro (&re_match_object); + Qscan_error = intern ("scan-error"); staticpro (&Qscan_error); Fput (Qscan_error, Qerror_conditions, -- 2.39.5