(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Mar 2000 04:18:10 +0000 (04:18 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Mar 2000 04:18:10 +0000 (04:18 +0000)
commit1fb352e0f97c508f0c2019c916c6830054a1e584
treed50b9455e7af499d22c9a3b717e52ed2c4c22dd3
parentbfb857d81e8f3c7a1d26202c305bce7ad16dc486
(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
definitions for non-Emacs compilation.
(enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec
outside of `#ifdef emacs'.
(print_partial_compiled_pattern): Update.
(regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar.
(re_compile_fastmap): Merge handling of charset and charset_not (for
emacs and non-emacs compilation as well).
Similarly for (not)categoryspec and (not)syntaxspec.
Don't use the fastmap when reaching `anychar' since the added
complexity is not justified.
(re_match_2_internal): Merge (not)wordchar (emacs and non-emacs)
and (not)syntaxspec.  Merge (not)categoryspec.
src/ChangeLog
src/regex.c