Missing tags in .ec files

Brucey
2002-04-17
2013-05-29
  • Brucey

    Brucey - 2002-04-17

    I've been trying to find a way to pull out function declarations from .ec (Informix ESQL/C) files, and 95% of the time using Exuberant ctags is successful.
    However, I've run into a particular .ec file in which ctags doesn't find some of the functions. Following is an example of a function that it doesn't find :

    int nRemove_alf( nProcessRunNumber )
    EXEC SQL BEGIN DECLARE SECTION;
    PARAMETER long nProcessRunNumber;
    EXEC SQL END DECLARE SECTION;
    {
    ....

    whereas the following function in the same .ec file IS found :

    int nStartCursors(nProcessRunNumber)
    long nProcessRunNumber;
    {
    ....

    As my c-coding ability borders on the non-existant, I am unable to work out why this isn't working.  One interesting thing to note is that the ctags program that is included with the AIX Unix that I'm using finds the function, but I cannot use that exclusively as it fails to read many of the .ec files at all.

    Would there be a 'hack' I could make to the ctags source that might fix this ? or at least a guide as to where I should look in the code to have a play around and do some damage.

    Any help would be much appreciated.

    :o)

    Bruce.

     
    • Elliott Hughes

      Elliott Hughes - 2007-06-24

      if you're still interested in this, please raise a bug in the bug tracker. i'll make sure it gets assigned to the sql maintainer.

      (i'll ask an admin to close this forum, because no-one reads it.)

      --elliott

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks