Mercurial > emacs
comparison src/regex.c @ 21352:b9275822b6f5
(regex_compile) [!MATCH_MAY_ALLOCATE]: Fix paren error.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 04 Apr 1998 00:00:06 +0000 |
parents | 64590f10c605 |
children | 7afa39c82ea2 |
comparison
equal
deleted
inserted
replaced
21351:78203467fc7d | 21352:b9275822b6f5 |
---|---|
2971 { | 2971 { |
2972 int num_regs = bufp->re_nsub + 1; | 2972 int num_regs = bufp->re_nsub + 1; |
2973 | 2973 |
2974 if (fail_stack.size < re_max_failures * TYPICAL_FAILURE_SIZE) | 2974 if (fail_stack.size < re_max_failures * TYPICAL_FAILURE_SIZE) |
2975 { | 2975 { |
2976 fail_stack.size = re_max_failures * TYPICAL_FAILURE_SIZE); | 2976 fail_stack.size = re_max_failures * TYPICAL_FAILURE_SIZE; |
2977 | 2977 |
2978 #ifdef emacs | 2978 #ifdef emacs |
2979 if (! fail_stack.stack) | 2979 if (! fail_stack.stack) |
2980 fail_stack.stack | 2980 fail_stack.stack |
2981 = (fail_stack_elt_t *) xmalloc (fail_stack.size | 2981 = (fail_stack_elt_t *) xmalloc (fail_stack.size |