global-commit
[Top][All Lists]
Advanced

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

[Global-commit] global THANKS gtags-parser/Cpp.c libutil/token....


From: Shigio YAMAGUCHI
Subject: [Global-commit] global THANKS gtags-parser/Cpp.c libutil/token....
Date: Wed, 26 Nov 2008 01:19:15 +0000

CVSROOT:        /sources/global
Module name:    global
Changes by:     Shigio YAMAGUCHI <shigio>       08/11/26 01:19:15

Modified files:
        .              : THANKS 
        gtags-parser   : Cpp.c 
        libutil        : token.c token.h 

Log message:
        Bug report by Michael Tocci.
        
        > file.cpp
        > ---------------------
        > 
        > #define IS_SF_BLOCK(block) 
(utStrcmp(gmi_type_string((block)),"SF")==0)
        > 
        > bool BlockIsSF(const slBlock *block) {
        >     return(true);
        > }
        > 
        > bool BlockIsChannel(const slBlock *block) {
        >     return(true);
        > }
        > --------------------------------
        > If you run gtags, and then "global BlockIsSF", it says that the tag 
is not
        > found.  If I comment out the #define, it finds both functions.
        
        Though this fix is not a correct method, above code can be correctly 
analyzed.
        In near future, we have to rewrite the C++ parser in a correct way.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/THANKS?cvsroot=global&r1=1.82&r2=1.83
http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/Cpp.c?cvsroot=global&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/global/libutil/token.c?cvsroot=global&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/global/libutil/token.h?cvsroot=global&r1=1.14&r2=1.15




reply via email to

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