emacs-devel
[Top][All Lists]
Advanced

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

Re: Help etags parse lisp.j


From: Stefan Monnier
Subject: Re: Help etags parse lisp.j
Date: Tue, 22 Mar 2016 08:46:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>   TYPE0 foo (arg1, arg2, arg3, ..., argN)

The first potential difference here is that each arg is
a single identifier.  Of course, in non-K&R declarations, this can also
be the case, but at least if there's a *, a [..], or two identifiers
without a comma between them, then we know already it's not K&R.

> Hmm... can we use the fact that in a K&R definition, the last token
> before the opening brace "{" of the body is always a semicolon?  So if
> there's no semi-colon there, then it's a function that needs to be
> tagged?  (Of course, the semicolon could be hidden behind some clever
> macro, but I think we don't need to cater to such uses.)

Sounds fine, yes,


        Stefan




reply via email to

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