diff src/specifier.c @ 3680:efca49973324

[xemacs-hg @ 2006-11-15 21:12:13 by aidan] Add a GCPRO; move around a warn_when_safe call to make me feel better about garbage collection.
author aidan
date Wed, 15 Nov 2006 21:12:17 +0000
parents f200f93c0b69
children 01830ac74073
line wrap: on
line diff
--- a/src/specifier.c	Tue Nov 14 22:51:37 2006 +0000
+++ b/src/specifier.c	Wed Nov 15 21:12:17 2006 +0000
@@ -1154,9 +1154,9 @@
 
 	  if (!NILP(charset_predicate))
 	    {
-	      static int line_1147_calls;
-	      ++line_1147_calls;
+	      struct gcpro gcpro1; 
 	      charpres = make_vector(impossible, Qnil); 
+	      GCPRO1 (charpres);
 
 	      /* If you want to extend the number of stages available, here
 		 in setup_charset_initial_specifier_tags, and in specifier.h
@@ -1198,6 +1198,7 @@
 
 #undef DEFINE_SPECIFIER_TAG_FROB
 
+	      UNGCPRO;
 	    }
 
 	  if (!NILP(assoc))