summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-21 14:13:56 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-21 14:15:53 -0800
commit8e84823f3f06714d0668060d62456cf7e3100e6c (patch)
tree56c32d0f161be17f1fc16d920a8f51f88ede7b38 /src/syntax.c
parent8afaa1321f8088bfb877fe4b6676e8517adb0bb7 (diff)
downloademacs-8e84823f3f06714d0668060d62456cf7e3100e6c.tar.gz
Revert regexp reentrancy abort patch
Although the patch does fix Bug#21688 and prevents a core dump, it also makes the message-mode-propertize test fail; see: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html Perhaps someone else can come up with a better fix some day. * src/syntax.c (update_syntax_table_forward): Propertize even when truncated. * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST): (UPDATE_SYNTAX_TABLE_FAST): Remove. All callers changed back to the non-_FAST versions.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index f939a76a2e6..5b0ec6d071b 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -514,6 +514,7 @@ update_syntax_table_forward (ptrdiff_t charpos, bool init,
{
eassert (NILP (object));
eassert (charpos >= gl_state.e_property);
+ parse_sexp_propertize (charpos);
}
else
{