From 68b32482437e05f0994c4dd0ab5b0c27d39f0f6d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 15 Aug 2012 12:56:38 -0600 Subject: This introduces a thread-state object and moves various C globals there. It also introduces #defines for these globals to avoid a monster patch. The #defines mean that this patch also has to rename a few fields whose names clash with the defines. There is currently just a single "thread"; so this patch does not impact Emacs behavior in any significant way. --- src/regex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regex.h') diff --git a/src/regex.h b/src/regex.h index e0ede012b20..91886a80549 100644 --- a/src/regex.h +++ b/src/regex.h @@ -166,12 +166,12 @@ typedef unsigned long int reg_syntax_t; some interfaces). When a regexp is compiled, the syntax used is stored in the pattern buffer, so changing this does not affect already-compiled regexps. */ -extern reg_syntax_t re_syntax_options; +/* extern reg_syntax_t re_syntax_options; */ #ifdef emacs /* In Emacs, this is the string or buffer in which we are matching. It is used for looking up syntax properties. */ -extern Lisp_Object re_match_object; +/* extern Lisp_Object re_match_object; */ #endif -- cgit v1.2.3