emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103994: * progmodes/cc-engine.el (c-


From: Daniel Colascione
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103994: * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
Date: Sun, 24 Apr 2011 17:31:41 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 103994
committer: Daniel Colascione <address@hidden>
branch nick: trunk
timestamp: Sun 2011-04-24 17:31:41 -0700
message:
  * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
  correct match group (bug#8438).
modified:
  lisp/ChangeLog
  lisp/progmodes/cc-engine.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-04-24 20:32:23 +0000
+++ b/lisp/ChangeLog    2011-04-25 00:31:41 +0000
@@ -1,3 +1,8 @@
+2011-04-24  Daniel Colascione <address@hidden>
+
+       * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
+       correct match group (bug#8438).
+
 2011-04-24  Chong Yidong  <address@hidden>
 
        * emacs-lisp/package.el (package-built-in-p): Fix typo.

=== modified file 'lisp/progmodes/cc-engine.el'
--- a/lisp/progmodes/cc-engine.el       2011-03-06 17:03:45 +0000
+++ b/lisp/progmodes/cc-engine.el       2011-04-25 00:31:41 +0000
@@ -6475,7 +6475,7 @@
       ;; `c-font-lock-declarators'.)
       (while (and (looking-at c-type-decl-prefix-key)
                  (if (and (c-major-mode-is 'c++-mode)
-                          (match-beginning 2))
+                          (match-beginning 3))
                      ;; If the second submatch matches in C++ then
                      ;; we're looking at an identifier that's a
                      ;; prefix only if it specifies a member pointer.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]