aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-05-05 21:31:16 -0700
committerPaul Eggert2013-05-05 21:31:16 -0700
commitdc4a2ee0efe25b03973ea5feb5de9e46560a8127 (patch)
tree47d0bac1b62e90be25687878e3319206c2a95925 /src/ChangeLog
parent8c13f3d62856ced64f25fbeedba5c121457d5e76 (diff)
downloademacs-dc4a2ee0efe25b03973ea5feb5de9e46560a8127.tar.gz
emacs-dc4a2ee0efe25b03973ea5feb5de9e46560a8127.zip
* regex.c: Fix problems when DEBUG is defined.
(extract_number, extract_number_and_incr): Define regardless of whether DEBUG is defined; that's simpler and makes the code less likely to go stale in the normal case when DEBUG is not defined. Return int rather than taking an int * arg. All callers changed. (DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4): Remove, replacing with ... (DEBUG_PRINT): New macro. All callers changed. (DEBUG_COMPILES_ARGUMENTS): New macro. (print_fastmap, print_partial_compiled_pattern) [DEBUG]: (print_compiled_pattern, print_double_string) [DEBUG]: Use prototype rather than old-style definition. (print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]: (ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]: (POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]: (POP_FAILURE_POINT, re_match_2_internal) [DEBUG]: Don't assume ptrdiff_t, size_t, and long are the same width as int. (POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t. This matters only when DEBUG is defined.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 098af549ab9..648a33a6fa1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,25 @@
12013-05-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 * regex.c: Fix problems when DEBUG is defined.
4 (extract_number, extract_number_and_incr): Define regardless of
5 whether DEBUG is defined; that's simpler and makes the code less
6 likely to go stale in the normal case when DEBUG is not defined.
7 Return int rather than taking an int * arg. All callers changed.
8 (DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4):
9 Remove, replacing with ...
10 (DEBUG_PRINT): New macro. All callers changed.
11 (DEBUG_COMPILES_ARGUMENTS): New macro.
12 (print_fastmap, print_partial_compiled_pattern) [DEBUG]:
13 (print_compiled_pattern, print_double_string) [DEBUG]:
14 Use prototype rather than old-style definition.
15 (print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]:
16 (ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]:
17 (POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]:
18 (POP_FAILURE_POINT, re_match_2_internal) [DEBUG]:
19 Don't assume ptrdiff_t, size_t, and long are the same width as int.
20 (POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t.
21 This matters only when DEBUG is defined.
22
12013-05-05 Eli Zaretskii <eliz@gnu.org> 232013-05-05 Eli Zaretskii <eliz@gnu.org>
2 24
3 * xdisp.c (set_iterator_to_next): Set the 25 * xdisp.c (set_iterator_to_next): Set the