[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help etags parse lisp.j
From: |
Andreas Schwab |
Subject: |
Re: Help etags parse lisp.j |
Date: |
Sun, 20 Mar 2016 18:34:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> Today I found that some inline functions defined in lisp.h are not in
> src/TAGS. For example, lispstpcpy is not there. After some digging,
> it turned out that lines like the one below confuse etags:
>
> extern _Noreturn void emacs_abort (void) NO_INLINE;
>
> Specifically, the very next inline function doesn't wind up in TAGS.
> The problem is that NO_INLINE part after the argument list. These
> macros expand either to __attribute__((SOMETHING)) or to nothing;
> etags knows about __attribute__, but it cannot know about the macros
> we use for that. The problem happens with any attribute we hide
> behind a macro, not just with NO_INLINE.
Can't etags reset its parser state after a toplevel semicolon?
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Help etags parse lisp.j, Eli Zaretskii, 2016/03/20
- Re: Help etags parse lisp.j,
Andreas Schwab <=
- Re: Help etags parse lisp.j, Eli Zaretskii, 2016/03/20
- Re: Help etags parse lisp.h, Eli Zaretskii, 2016/03/20
- Re: Help etags parse lisp.j, Paul Eggert, 2016/03/21
- Re: Help etags parse lisp.j, Andreas Schwab, 2016/03/21
- Re: Help etags parse lisp.j, Eli Zaretskii, 2016/03/21
- Re: Help etags parse lisp.j, Stefan Monnier, 2016/03/22
- Re: Help etags parse lisp.j, Eli Zaretskii, 2016/03/22
- Re: Help etags parse lisp.j, Stefan Monnier, 2016/03/21
- Re: Help etags parse lisp.j, Eli Zaretskii, 2016/03/21
- Re: Help etags parse lisp.j, Paul Eggert, 2016/03/21