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 :
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.
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.)
Log in to post a comment.