(compile_pattern): Only check `cp->syntax_table' if needed.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 3 Oct 2006 13:47:26 +0000 (13:47 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 3 Oct 2006 13:47:26 +0000 (13:47 +0000)
commit54dd3310afa4bacd201ce9e126be49ede6aa3a36
tree37a3e759f01471ae7529b6a88bad594d060f3ca8
parentec40e71f22d2ccb626286622c5217ec282cf05c3
(compile_pattern): Only check `cp->syntax_table' if needed.
(compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'.
(clear_regexp_cache): Only flush those regexps which depend on
a syntax-table.
src/ChangeLog
src/search.c