SourceForge has been redesigned. Learn more.
Close

#11 Extra tab showing up in tagaddress

closed-works-for-me
nobody
None
5
2001-09-24
2001-08-01
Anonymous
No

I'm using exuberent ctags version 5.01 on windows 2000
professional, sp2

I'm trying to write a perl script to parse the
contents of a tags file and ran into an extra space in
the tagaddress for f tags in a class. will attach my
tags file

i was using a simple split on \t, and from my reading
of the FORMAT i was under the impression that tabs are
only used to seperate fields.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    file attachment failed for some reason, probably ie's fault

    !_TAG_FILE_FORMAT 2 /extended format; --
    format=1 will not append ;" to lines/
    !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted/
    !_TAG_PROGRAM_AUTHOR Darren Hiebert /darren@hiebert.com/
    !_TAG_PROGRAM_NAME Exuberant Ctags //
    !_TAG_PROGRAM_URL http://ctags.sourceforge.net
    /official site/
    !_TAG_PROGRAM_VERSION 5.0.1 //
    DoSomething
    D:\home\mbritten\projects\sleuth\test\test.cpp /^
    int DoSomething(int i)$/;" f class:Test
    MyThread
    D:\home\mbritten\projects\sleuth\test\test.cpp
    /^DWORD WINAPI MyThread(LPVOID lpParam)$/;" f
    Test D:\home\mbritten\projects\sleuth\test\test.cpp /^
    Test()$/;" f class:Test
    Test D:\home\mbritten\projects\sleuth\test\test.cpp
    /^class Test$/;" c file:
    func1 D:\home\mbritten\projects\sleuth\test\test.cpp
    /^void func1()$/;" f
    func2 D:\home\mbritten\projects\sleuth\test\test.cpp
    /^void func2()$/;" f
    main D:\home\mbritten\projects\sleuth\test\test.cpp
    /^int main(int argc, char argv[])$/;" f

     
  • Darren Hiebert

    Darren Hiebert - 2001-09-24

    Logged In: YES
    user_id=38016

    I do not understand the problem and need more information.

    Tabs are indeed used to separate fields. Tabs in the source
    line can also show up in the regular expression (i.e. within
    the "/.../"). Because the tag file was not attached, I could
    not see the exact form of the white space in the tag file.

     
  • Darren Hiebert

    Darren Hiebert - 2001-09-24
    • status: open --> closed-works-for-me
     

Log in to post a comment.