Mercurial > emacs
diff src/syntax.c @ 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 | a8fa7c632ee4 |
| children | a0d1312ede66 187d6a1f84f7 |
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,
