(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Mar 2000 04:17:32 +0000 (04:17 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Mar 2000 04:17:32 +0000 (04:17 +0000)
commit27d8e5f009cbcd35fcb7e720f771c618e533a4a4
treefaa02f041840fc5473f9521c179f61d0352007f8
parent7540e1406f34e8083740a2954fd2e97b9878e5e6
(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.
regex.c