GNU bug report logs -
#7405
cc-mode typo between cc-engine and cc-fonts
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Latest trunk.
In cc-fonts.el,
;; Skip over type decl prefix operators, one for each iteration
;; of the while. These are, e.g. "*" in "int *foo" or "(" and
;; "*" in "int (*foo) (void)" (Note similar code in
;; `c-forward-decl-or-cast-1'.)
(while (and (looking-at c-type-decl-prefix-key)
(if (and (c-major-mode-is 'c++-mode)
(match-beginning 3))
;; If the third submatch matches in C++ then
^^^^^^^^^^^^^^
;; we're looking at an identifier that's a
;; prefix only if it specifies a member pointer.
In cc-engine.el,
;; Skip over type decl prefix operators. (Note similar code in
;; `c-font-lock-declarators'.)
(while (and (looking-at c-type-decl-prefix-key)
(if (and (c-major-mode-is 'c++-mode)
(match-beginning 2))
;; 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.
(when (setq got-identifier (c-forward-name))
So which is it?
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 9 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.