860 |
(skip-syntax-backward " ") |
(skip-syntax-backward " ") |
861 |
(point)))) |
(point)))) |
862 |
(if (looking-at "^[+-]") |
(if (looking-at "^[+-]") |
863 |
;; C++. |
;; Objective-C |
864 |
(change-log-get-method-definition) |
(change-log-get-method-definition) |
865 |
;; Ordinary C function syntax. |
;; Ordinary C function syntax. |
866 |
(setq beg (point)) |
(setq beg (point)) |
901 |
;; precede the name. |
;; precede the name. |
902 |
(setq middle (point)) |
(setq middle (point)) |
903 |
(forward-word -1) |
(forward-word -1) |
904 |
|
;; Is this C++ method? |
905 |
|
(when (and (< 2 middle) |
906 |
|
(string= (buffer-substring (- middle 2) |
907 |
|
middle) |
908 |
|
"::")) |
909 |
|
;; Include "classname::". |
910 |
|
(setq middle (point))) |
911 |
;; Ignore these subparts of a class decl |
;; Ignore these subparts of a class decl |
912 |
;; and move back to the class name itself. |
;; and move back to the class name itself. |
913 |
(while (looking-at "public \\|private ") |
(while (looking-at "public \\|private ") |