Article View: comp.editors
Article #4023Re: and verilog? (Re: ctags with c++[?])
From: Greg Earle
Date: Sun, 18 Jul 1993 23:18
Date: Sun, 18 Jul 1993 23:18
30 lines
2659 bytes
2659 bytes
In article <1905@bridge2.nsd.3com.com> camerons@NAD.3Com.COM writes: >In article 25029@searchtech.com, peteb@searchtech.com (Pete Brown-McKinney) writes: >>I've been told that ctags is great - and the little bit I've played with it >>confirms this. However, it doesn't seem to cope too well with C++ >>overloaded function names. Does anybody out there have a solution for this? > >It doesn't cope with Verilog too well either. Is there a PD or Copyleft >ctags? I started writing a verilog-ctags but got stuck on implicit wires. >While I'm at it, is there a PD cscope I can hack on? A verilog-cscope >would be awesome! There is a version of ctags called "etags" that comes with GNU Emacs. This version does *not* grok C++, but there IS also another version of "etags" that comes with the GNU C++ class library, libg++, which supposedly does. Get the GNU libg++ 2.4 distribution from aeneas.MIT.EDU in ~ftp/pub/gnu; once unbundled, the file is .../libg++-2.4/libg++/utils/etags.c. By going to the ".../utils" directory, you can say "make etags". Since I also had Emacs, I installed this libg++ version of "etags" as "etags++". Caveat: "etags" will gen tag table files that Emacs can grok, but "vi" can't. So if you want a "ctags++" for "vi", you might be out of luck. Caveat 2: the Emacs man page for "etags" lists a "--c++" option, but I wasn't under the impression that this option made it understand C++ code. There are notable changes between the Emacs' "etags" code and the libg++ "etags" code (which I wish would change). -- - Greg Earle Phone: (818) 353-8695 FAX: (818) 353-1877 Internet: earle@isolar.Tujunga.CA.US UUCP: isolar!earle@elroy.JPL.NASA.GOV a.k.a. ...!elroy!isolar!earle
Technical Details
Message-ID:
<22clni$4ak@isolar.Tujunga.CA.US>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!elroy.jpl.nasa.gov!isolar!isolar!not-for-mailReferences:
<1993Jul14.160316.25029@searchtech.com> <1905@bridge2.nsd.3com.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107393,e16ccd3512f55a4 X-Google-Attributes: gid107393,public X-Google-Thread: 10ba33,2aa968f4b226a81f,start X-Google-Attributes: gid10ba33,public X-Google-Thread: 112e4c,6bb075411b85fa09 X-Google-Attributes: gid112e4c,public X-Google-ArrivalTime: 1993-07-19 00:15:48 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!elroy.jpl.nasa.gov!isolar!isolar!not-for-mail From: earle@isolar.Tujunga.CA.US (Greg Earle) Newsgroups: comp.editors,comp.lang.verilog,gnu.g++.help Subject: Re: and verilog? (Re: ctags with c++[?]) Followup-To: comp.editors Date: 18 Jul 1993 16:18:10 -0700 Organization: Personal Usenet site, Tujunga, CA USA Lines: 30 Distribution: world Message-ID: <22clni$4ak@isolar.Tujunga.CA.US> References: <1993Jul14.160316.25029@searchtech.com> <1905@bridge2.nsd.3com.com> NNTP-Posting-Host: isolar.tujunga.ca.us Summary: etags++