aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-18 03:48:00 +0000
committerKarl Heuer1994-10-18 03:48:00 +0000
commit72970473b254f680415dd07efbae8893d13c9dd0 (patch)
treeae894d83164196f6050c3bc5aa40f00f8018b630 /src
parent81b5c4dd1120d915facaaeba6970da7f95724540 (diff)
downloademacs-72970473b254f680415dd07efbae8893d13c9dd0.tar.gz
emacs-72970473b254f680415dd07efbae8893d13c9dd0.zip
(exactn): Initializer deleted.
Diffstat (limited to 'src')
-rw-r--r--src/regex.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/regex.c b/src/regex.c
index 4b22b31a3c3..c7674a1e9c3 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -261,18 +261,14 @@ static int re_match_2_internal ();
261/* These are the command codes that appear in compiled regular 261/* These are the command codes that appear in compiled regular
262 expressions. Some opcodes are followed by argument bytes. A 262 expressions. Some opcodes are followed by argument bytes. A
263 command code can specify any interpretation whatsoever for its 263 command code can specify any interpretation whatsoever for its
264 arguments. Zero bytes may appear in the compiled regular expression. 264 arguments. Zero bytes may appear in the compiled regular expression. */
265
266 The value of `exactn' is needed in search.c (search_buffer) in Emacs.
267 So regex.h defines a symbol `RE_EXACTN_VALUE' to be 1; the value of
268 `exactn' we use here must also be 1. */
269 265
270typedef enum 266typedef enum
271{ 267{
272 no_op = 0, 268 no_op = 0,
273 269
274 /* Followed by one byte giving n, then by n literal bytes. */ 270 /* Followed by one byte giving n, then by n literal bytes. */
275 exactn = 1, 271 exactn,
276 272
277 /* Matches any (more or less) character. */ 273 /* Matches any (more or less) character. */
278 anychar, 274 anychar,
@@ -904,7 +900,7 @@ static const char *re_error_msg[] =
904#define MATCH_MAY_ALLOCATE 900#define MATCH_MAY_ALLOCATE
905 901
906/* The match routines may not allocate if (1) they would do it with malloc 902/* The match routines may not allocate if (1) they would do it with malloc
907 and (2) it's not safe for htem to use malloc. */ 903 and (2) it's not safe for them to use malloc. */
908#if (defined (C_ALLOCA) || defined (REGEX_MALLOC)) && (defined (emacs) || defined (REL_ALLOC)) 904#if (defined (C_ALLOCA) || defined (REGEX_MALLOC)) && (defined (emacs) || defined (REL_ALLOC))
909#undef MATCH_MAY_ALLOCATE 905#undef MATCH_MAY_ALLOCATE
910#endif 906#endif