]> git.eshelyaron.com Git - emacs.git/commit
Fix regex-emacs debug format glitches
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jul 2019 04:42:58 +0000 (21:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jul 2019 04:44:02 +0000 (21:44 -0700)
commitb35f378d6e7d52393f1afc32a6f9880b9240af91
tree6da055bb2ab8464cc183df2f9b07670797a93377
parent1a2c896aedc4a615b3c6102624326891a0481461
Fix regex-emacs debug format glitches

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.
src/regex-emacs.c