• Paul Eggert's avatar
    Fix regex-emacs debug format glitches · b35f378d
    Paul Eggert authored
    These patches affect behavior only if REGEX_EMACS_DEBUG.
    * src/regex-emacs.c (debug_putchar): Use unsigned for %x.
    (print_compiled_pattern, ENSURE_FAIL_STACK, PUSH_FAILURE_POINT)
    (POP_FAILURE_POINT): Use %td for ptrdiff_t.
    (print_compiled_pattern, regex_compile, re_match_2_internal):
    Put newlines at ends of lines, not at starts of next lines.
    Omit white space at line ends.
regex-emacs.c 148 KB