[Top][All Lists]

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

Re: Bug Report (Feature request?) etags (GNU Emacs 21.1)

From: Francesco Potorti`
Subject: Re: Bug Report (Feature request?) etags (GNU Emacs 21.1)
Date: 18 Feb 2002 23:36:09 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.90

   David> words, would etags wind up generating the same reference twice
   David> (once from the generated file and once from the original)?
   etags will already do this if you run it on parse.y and parse.c.
   I've always found this a bit annoying.  Usually I use some Makefile
   rule I didn't write to generate TAGS.  So parse.c is included, but I
   don't want it, since I never want to edit it.  In this scenario it
   would be convenient if etags ignored the generated file.

I suppose you mean a rule like this:

if etags finds a #line directive in file X pointing to file Y, and if
file Y is given on the command line, then ignore file X.

Maybe this would better be handled by not giving file X to etags to
parse.  Should etags correct this common makefile error?  By the way, it
wouldn't be so easy, as currently etags processes files independently of
each other, in sequence.

Going back to the original question, what happens if you give to etags
the original .web file, instead of the .c produced from it?

reply via email to

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