bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#45560: 27.1; add-change-log-entry erroneously removes "const" from f


From: Lars Ingebrigtsen
Subject: bug#45560: 27.1; add-change-log-entry erroneously removes "const" from function name
Date: Thu, 31 Dec 2020 06:09:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Tom Tromey <tom@tromey.com> writes:

> Put this into a .c file:
>
> void
> const_ref ()
> {
> }
>
> Now, put point inside the braces and M-x add-change-log-entry.
>
> For me the resulting ChangeLog looks like:
>
> 2020-12-30  Tom Tromey  <tom@tromey.com>
>
>       * q.c (_ref): 

Debugging this, it looks like this is down to

(c-defun-name-1)

returning "_ref" if called in the const_ref function, so I've added Alan
to the CCs. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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