bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtags fail to index C++ exported class


From: Jason Hood
Subject: Re: gtags fail to index C++ exported class
Date: Thu, 27 Nov 2014 17:49:49 +1000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 26/11/2014 10:28, Shigio YAMAGUCHI wrote:
> Hi,
> I have recovered the previous version, because the patch brought
> the following error [struct {};].

Fixed; I also allowed for extra newlines.

C:\test>cat -n test.cpp
     1  class {};
     2  class Ignore1;
     3  class EXTERN Ignore2;
     4  class C1 {};
     5  class EXTERN C2 {};
     6  class
     7  {};
     8  class
     9  C3 {};
    10  class
    11  C4
    12  {};
    13  class
    14  EXTERNAL
    15  C5
    16  {};

C:\test>gtags

C:\test>global -x .*
C1                  4 test.cpp         class C1 {};
C2                  5 test.cpp         class EXTERN C2 {};
C3                  9 test.cpp         C3 {};
C4                 11 test.cpp         C4
C5                 15 test.cpp         C5

-- 
Jason.

Attachment: class.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]