[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
function symbol surround by ifndef else endif will not be find by gnu gl
From: |
weidong |
Subject: |
function symbol surround by ifndef else endif will not be find by gnu global |
Date: |
Thu, 21 Oct 2021 20:22:10 +0800 |
the attached file is test.c which expose the bug
I can not find the symbol testfun when use the latest version of gnu global6.6.7
➜ gnu_global ls
GPATH GRTAGS GTAGS gtags.files test.c
➜ gnu_global ls -lh
总用量 56K
-rw-r--r-- 1 widon widon 16K 10月 21 20:09 GPATH
-rw-r--r-- 1 widon widon 16K 10月 21 20:09 GRTAGS
-rw-r--r-- 1 widon widon 16K 10月 21 20:09 GTAGS
-rw-r--r-- 1 widon widon 7 10月 21 20:09 gtags.files
-rw-r--r-- 1 widon widon 145 10月 21 20:09 test.c
➜ gnu_global global testfun
➜ gnu_global global main
test.c
but ctags can find the symbol, taglist use ctags
test.c
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- function symbol surround by ifndef else endif will not be find by gnu global,
weidong <=