changeset 64319:6ba9b52e77fc

(syms_of_syntax): Staticpro lisp objects in gl_state. Staticpro re_match_object.
author Kim F. Storm <storm@cua.dk>
date Thu, 14 Jul 2005 11:24:18 +0000
parents a64663d06985
children f481f3898c0f
files src/syntax.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Thu Jul 14 11:24:08 2005 +0000
+++ b/src/syntax.c	Thu Jul 14 11:24:18 2005 +0000
@@ -3168,6 +3168,14 @@
 
   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,