summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2005-07-14 11:24:18 +0000
committerKim F. Storm <storm@cua.dk>2005-07-14 11:24:18 +0000
commita2994c46f9a519fffa6aa2d06dba6d62a056040c (patch)
tree90d6435e492327921e82871194fa8820b4415969 /src/syntax.c
parentaa77b5ce04503b5438c011fef556f1349de445d9 (diff)
downloademacs-a2994c46f9a519fffa6aa2d06dba6d62a056040c.tar.gz
(syms_of_syntax): Staticpro lisp objects in gl_state.
Staticpro re_match_object.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c8
1 files changed, 8 insertions, 0 deletions
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,