[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107033: Fix an off by one error in c
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107033: Fix an off by one error in c-guess-basic-syntax CASE 5B.1. |
Date: |
Tue, 31 Jan 2012 21:59:58 +0000 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107033
committer: Alan Mackenzie <address@hidden>
branch nick: trunk
timestamp: Tue 2012-01-31 21:59:58 +0000
message:
Fix an off by one error in c-guess-basic-syntax CASE 5B.1.
modified:
lisp/ChangeLog
lisp/progmodes/cc-engine.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-01-31 16:15:03 +0000
+++ b/lisp/ChangeLog 2012-01-31 21:59:58 +0000
@@ -1,3 +1,8 @@
+2012-01-31 Alan Mackenzie <address@hidden>
+
+ * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
+ off by one error.
+
2012-01-31 Chong Yidong <address@hidden>
* frame.el (set-frame-font): New arg ALL-FRAMES.
=== modified file 'lisp/progmodes/cc-engine.el'
--- a/lisp/progmodes/cc-engine.el 2012-01-19 07:21:25 +0000
+++ b/lisp/progmodes/cc-engine.el 2012-01-31 21:59:58 +0000
@@ -9447,7 +9447,7 @@
;; 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107033: Fix an off by one error in c-guess-basic-syntax CASE 5B.1.,
Alan Mackenzie <=