emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100561: Use correct match group (


From: Daniel Colascione
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100561: Use correct match group (bug#8438).
Date: Sun, 24 Apr 2011 17:20:47 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 100561
committer: Daniel Colascione <address@hidden>
branch nick: emacs-23
timestamp: Sun 2011-04-24 17:20:47 -0700
message:
  Use correct match group (bug#8438).
modified:
  lisp/ChangeLog
  lisp/progmodes/cc-engine.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-04-22 18:49:58 +0000
+++ b/lisp/ChangeLog    2011-04-25 00:20:47 +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-22  Juanma Barranquero  <address@hidden>
 
        * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).

=== modified file 'lisp/progmodes/cc-engine.el'
--- a/lisp/progmodes/cc-engine.el       2011-01-27 00:51:41 +0000
+++ b/lisp/progmodes/cc-engine.el       2011-04-25 00:20:47 +0000
@@ -5439,7 +5439,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]