diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2aeccc222cf..4e52f5b2818 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,37 @@ | |||
| 1 | 2013-06-20 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * syntax.c: Integer cleanups. | ||
| 4 | (SYNTAX_FLAGS_COMMENT_STYLEC): Return a boolean, not 0-or-2. | ||
| 5 | All uses that need 0-or-2 changed to: | ||
| 6 | (SYNTAX_FLAGS_COMMENT_STYLEC2): New macro, with the same semantics | ||
| 7 | as the old SYNTAX_FLAGS_COMMENT_STYLEC. | ||
| 8 | (struct lisp_parse_state, syntax_prefix_flag_p, update_syntax_table) | ||
| 9 | (char_quoted, prev_char_comend_first, back_comment) | ||
| 10 | (Finternal_describe_syntax_value, skip_chars, skip_syntaxes) | ||
| 11 | (in_classes, forw_comment, scan_lists, scan_sexps_forward): | ||
| 12 | Use bool for boolean. | ||
| 13 | (update_syntax_table, skip_chars, skip_syntaxes): | ||
| 14 | Prefer int to unsigned when either will do. | ||
| 15 | (back_comment): Return boolean success flag, like forw_comment, | ||
| 16 | instead of positive-or-minus-1 (which might have overflowed int anyway). | ||
| 17 | Don't stuff ptrdiff_t into int. | ||
| 18 | (syntax_spec_code, syntax_code_spec): Now const. | ||
| 19 | (Fmatching_paren, scan_lists, scan_sexps_forward): | ||
| 20 | Use enum syntaxcode for syntax code. | ||
| 21 | (Fmatching_paren): Check that arg is a character, not just an integer. | ||
| 22 | (Fstring_to_syntax): Don't assume 0377 fits in enum syntaxcode. | ||
| 23 | (Finternal_describe_syntax_value): Omit no-longer-needed | ||
| 24 | comparison to 0. | ||
| 25 | (skip_chars): Use char, not unsigned char, when the distinction | ||
| 26 | doesn't matter. | ||
| 27 | (forw_comment, scan_lists): Prefer A |= B to A = A || B when B's cheap. | ||
| 28 | * bytecode.c (exec_byte_code): | ||
| 29 | * syntax.c (syntax_spec_code, Fchar_syntax) | ||
| 30 | (Finternal_describe_syntax_value, skip_chars, skip_syntaxes) | ||
| 31 | (init_syntax_once): | ||
| 32 | * syntax.h (SYNTAX_WITH_FLAGS): | ||
| 33 | Omit unnecessary casts. | ||
| 34 | |||
| 1 | 2013-06-20 Eli Zaretskii <eliz@gnu.org> | 35 | 2013-06-20 Eli Zaretskii <eliz@gnu.org> |
| 2 | 36 | ||
| 3 | * w32fns.c (w32_wnd_proc): Don't compute the header line and mode | 37 | * w32fns.c (w32_wnd_proc): Don't compute the header line and mode |