diff options
| -rw-r--r-- | src/ChangeLog | 17 | ||||
| -rw-r--r-- | src/syntax.c | 16 |
2 files changed, 26 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0363b6c6c8b..40b8d3748f7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | ||
| 4 | a backslash-quoted char. | ||
| 5 | (scan_lists, scan_sexps_forward): Pacify the compiler. | ||
| 6 | |||
| 1 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | 7 | 2002-10-13 Richard M. Stallman <rms@gnu.org> |
| 2 | 8 | ||
| 3 | * window.c (window_scroll): Set immediate_quit. | 9 | * window.c (window_scroll): Set immediate_quit. |
| @@ -17,9 +23,9 @@ | |||
| 17 | 23 | ||
| 18 | 2002-10-10 Steven Tamm <steventamm@mac.com> | 24 | 2002-10-10 Steven Tamm <steventamm@mac.com> |
| 19 | 25 | ||
| 20 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): Reversed | 26 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): |
| 21 | functionality of mac-wheel-button-is-mouse-2 to be correct. Also | 27 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. |
| 22 | switched the default to Qnil from Qt. | 28 | Also switch the default to Qnil from Qt. |
| 23 | 29 | ||
| 24 | 2002-10-08 Kenichi Handa <handa@m17n.org> | 30 | 2002-10-08 Kenichi Handa <handa@m17n.org> |
| 25 | 31 | ||
| @@ -53,7 +59,7 @@ | |||
| 53 | 59 | ||
| 54 | 2002-10-04 Steven Tamm <steventamm@mac.com> | 60 | 2002-10-04 Steven Tamm <steventamm@mac.com> |
| 55 | 61 | ||
| 56 | * macterm.c (keycode_to_xkeysym_table): Change return to be | 62 | * macterm.c (keycode_to_xkeysym_table): Change return to be |
| 57 | treated like an X keysym | 63 | treated like an X keysym |
| 58 | 64 | ||
| 59 | 2002-10-03 Jan D. <jan.h.d@swipnet.se> | 65 | 2002-10-03 Jan D. <jan.h.d@swipnet.se> |
| @@ -118,8 +124,7 @@ | |||
| 118 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | 124 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> |
| 119 | 125 | ||
| 120 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | 126 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is |
| 121 | nonzero, try face's family at first. Otherwise try FAMILY at | 127 | nonzero, try face's family at first. Otherwise try FAMILY at first. |
| 122 | first. | ||
| 123 | (choose_face_font): If C is a single byte char or latin-1, call | 128 | (choose_face_font): If C is a single byte char or latin-1, call |
| 124 | try_font_list with PREFER_FACE_FAMILY 1. | 129 | try_font_list with PREFER_FACE_FAMILY 1. |
| 125 | 130 | ||
diff --git a/src/syntax.c b/src/syntax.c index f020bdbbced..0f2cda592aa 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -2164,6 +2164,9 @@ scan_lists (from, count, depth, sexpflag) | |||
| 2164 | INC_BOTH (from, from_byte); | 2164 | INC_BOTH (from, from_byte); |
| 2165 | if (!depth && sexpflag) goto done; | 2165 | if (!depth && sexpflag) goto done; |
| 2166 | break; | 2166 | break; |
| 2167 | default: | ||
| 2168 | /* Ignore whitespace, punctuation, quote, endcomment. */ | ||
| 2169 | break; | ||
| 2167 | } | 2170 | } |
| 2168 | } | 2171 | } |
| 2169 | 2172 | ||
| @@ -2211,7 +2214,10 @@ scan_lists (from, count, depth, sexpflag) | |||
| 2211 | into a word character. Note that this cannot be true | 2214 | into a word character. Note that this cannot be true |
| 2212 | if we decremented FROM in the if-statement above. */ | 2215 | if we decremented FROM in the if-statement above. */ |
| 2213 | if (code != Sendcomment && char_quoted (from, from_byte)) | 2216 | if (code != Sendcomment && char_quoted (from, from_byte)) |
| 2214 | code = Sword; | 2217 | { |
| 2218 | DEC_BOTH (from, from_byte); | ||
| 2219 | code = Sword; | ||
| 2220 | } | ||
| 2215 | else if (SYNTAX_PREFIX (c)) | 2221 | else if (SYNTAX_PREFIX (c)) |
| 2216 | continue; | 2222 | continue; |
| 2217 | 2223 | ||
| @@ -2332,6 +2338,9 @@ scan_lists (from, count, depth, sexpflag) | |||
| 2332 | DEC_BOTH (from, from_byte); | 2338 | DEC_BOTH (from, from_byte); |
| 2333 | if (!depth && sexpflag) goto done2; | 2339 | if (!depth && sexpflag) goto done2; |
| 2334 | break; | 2340 | break; |
| 2341 | default: | ||
| 2342 | /* Ignore whitespace, punctuation, quote, endcomment. */ | ||
| 2343 | break; | ||
| 2335 | } | 2344 | } |
| 2336 | } | 2345 | } |
| 2337 | 2346 | ||
| @@ -2675,6 +2684,7 @@ do { prev_from = from; \ | |||
| 2675 | curlevel->prev = curlevel->last; | 2684 | curlevel->prev = curlevel->last; |
| 2676 | break; | 2685 | break; |
| 2677 | 2686 | ||
| 2687 | case Scomment_fence: /* Can't happen because it's handled above. */ | ||
| 2678 | case Scomment: | 2688 | case Scomment: |
| 2679 | if (commentstop || boundary_stop) goto done; | 2689 | if (commentstop || boundary_stop) goto done; |
| 2680 | startincomment: | 2690 | startincomment: |
| @@ -2770,6 +2780,10 @@ do { prev_from = from; \ | |||
| 2770 | break; | 2780 | break; |
| 2771 | 2781 | ||
| 2772 | case Smath: | 2782 | case Smath: |
| 2783 | /* FIXME: We should do something with it. */ | ||
| 2784 | break; | ||
| 2785 | default: | ||
| 2786 | /* Ignore whitespace, punctuation, quote, endcomment. */ | ||
| 2773 | break; | 2787 | break; |
| 2774 | } | 2788 | } |
| 2775 | } | 2789 | } |