emacs-devel
[Top][All Lists]
Advanced

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

Re: imenu fails to index C function with function pointer as parameter


From: Alan Mackenzie
Subject: Re: imenu fails to index C function with function pointer as parameter
Date: Tue, 23 Aug 2011 13:16:22 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hi, Liang.

On Mon, Aug 22, 2011 at 02:02:12PM +0800, Liang Wang wrote:
> Hi,

> When I try to jump to a function definition which has a function
> pointer as one of its parameters, imenu fails to recognize such
> function.  One example is

> static rtx
> substitute_address (rtx exp, rtx (*no_address_fn) (rtx),
>                   rtx (*address_fn) (rtx))

> which is from gcc source code in gcc/genattrtab.c.

> To reproduce it, run

> M-x imenu RET sub TAB

> And then, I get [No match].  Other functions are just fine.

This is a bug.  I'm looking at it at the moment.  Hopefully I'll have a
fix in a few days.

> Thanks,
> Liang.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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