emacs-devel
[Top][All Lists]
Advanced

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

Re: etags failing with structure members


From: Eli Zaretskii
Subject: Re: etags failing with structure members
Date: Sat, 11 Mar 2017 13:24:26 +0200

> Date: Sat, 11 Mar 2017 11:27:48 +0100
> From: martin rudalics <address@hidden>
> CC: address@hidden
> 
>  > the tricky macro syntax used by some of the
>  > header files run afoul of the etags parsing.  I tried once to find a
>  > solution for that, I might look into this again.
> 
> Can you explain with a few words why the macro syntax interferes?

They look like a beginning of a K&R style function definition:

  foo (bar, baz)
    type1 bar;
    type2 baz;

This tricks etags into the state where it looks for the end of the
function, and ignores everything until that point.

One possible remedy would be to teach etags about the special macro
ENUM_BF; I will look into that when I have time.  But there's trickier
stuff in lisp.h that won't be helped even by that.



reply via email to

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