mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 22:50:29 -08:00
Fix an off by one error in c-guess-basic-syntax CASE 5B.1.
This commit is contained in:
parent
6df6ae42fe
commit
abbceb009c
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-01-31 Alan Mackenzie <acm@muc.de>
|
||||
|
||||
* progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
|
||||
off by one error.
|
||||
|
||||
2012-01-31 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* frame.el (set-frame-font): New arg ALL-FRAMES.
|
||||
|
|
|
|||
|
|
@ -9447,7 +9447,7 @@ comment at the start of cc-engine.el for more info."
|
|||
|
||||
;; CASE 5B.1: Member init list.
|
||||
((eq (char-after tmp-pos) ?:)
|
||||
(if (or (> tmp-pos indent-point)
|
||||
(if (or (>= tmp-pos indent-point)
|
||||
(= (c-point 'bosws) (1+ tmp-pos)))
|
||||
(progn
|
||||
;; There is no preceding member init clause.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue