ctags problem with branch 2_2

Etay Meiri cl1 at netvision.net.il
Mon Sep 10 20:14:44 UTC 2001


Hi,

Last saturday(9/8) I compiled the 2_2 branch
from CVS. when trying to load the tag file from the
project menu I got an error that the "--fortran-types=-l"
option to ctags was invalid. I'm using Exuberant Ctags 4.0.3.
seems like a whole bunch of flags to ctags is not even 
mentioned in the man page (--fields for example). I made 
the following remarks in the CTagsCommandLine constructor which 
solved the problem:

CTagsCommandLine() {                    // long form of arguments
    m_onlyProjectFiles=false;
    m_command = "ctags";
    m_append = "";                        //--append=no      [default]
    m_sort = "-u";                        //--sort=no
    m_totals = "--totals";                //--totals=yes
    m_excmd_pattern = "-n";               //--excmd=number
    m_file_scope = "";                    //--file-scope=yes [default]
    m_c_types = "--c++-types=+px";
    m_fortran_types = "--fortran-types=-l"; /*+L";
    m_fields = "--fields=+i";
    m_extra = " --extra=+f";*/
    m_recurse = "-R";                     // --recurse=on
    /*m_exclude.append("--exclude=[Mm]ake*");
    m_exclude.append("--exclude=config*");
    m_exclude.append("--exclude=*.inc");
    m_exclude.append("--exclude=*.bck");
    m_exclude.append("--exclude=glimpse*");
    m_exclude.append("--exclude=.glimpse*");
    m_exclude.append("--exclude=CVS");*/
  }

Do I need to grab a newer version of ctags (this one came 
with RH 7.1)? or is it something else?

BTW: other than that the tag feature is working ok. nice piece of
work.

TIA

-- 
************************************************
"When in doubt, use brute force."
									Ken Thompson
Etay Meiri
cl1 at netvision.net.il
************************************************

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list