[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Global-commit] global THANKS libutil/gtagsop.c
From: |
Shigio YAMAGUCHI |
Subject: |
[Global-commit] global THANKS libutil/gtagsop.c |
Date: |
Thu, 19 Oct 2017 09:32:04 -0400 (EDT) |
CVSROOT: /sources/global
Module name: global
Changes by: Shigio YAMAGUCHI <shigio> 17/10/19 09:32:04
Modified files:
. : THANKS
libutil : gtagsop.c
Log message:
[Bug fixed]
In global, the -i option is not work correctly.
On the directory tree below:
TestGtags
|
+-- Include
| |
| +-- TestGtags.h
| +------------------------
| 1|enum A_MODE {
| 2| a0,
| 3| a1,
| 4| a2,
| 5|};
| +------------------------
+-- Src
|
+-- TestGtags.cpp
+------------------------
1|#include <stdio.h>
2|#include "TestGtags.h"
3|
4|void func()
5|{
6| A_MODE a_mode = a0;
7| printf("a_mode=%d\n", a_mode);
8|}
9|
10|int main(int argc, char* argv[])
11|{
12| func();
13|
14| A_MODE a_Mode = a1;
15| printf("a_Mode=%d\n", a_Mode);
16|
17| return 0;
18|}
+------------------------
$ cd TestGtags
$ gtags
$ global -xsi a_mode
$ <- Never print.
-------------------------------------------------------------------------------
Now it works.
$ global -xsi a_mode
a_Mode 14 Src/TestGtags.cpp A_MODE a_Mode = a1;
a_Mode 15 Src/TestGtags.cpp printf("a_Mode=%d\n",
a_Mode);
a_mode 6 Src/TestGtags.cpp A_MODE a_mode = a0;
a_mode 7 Src/TestGtags.cpp printf("a_mode=%d\n",
a_mode);
Submitted by Motoki NODA.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/THANKS?cvsroot=global&r1=1.140&r2=1.141
http://cvs.savannah.gnu.org/viewcvs/global/libutil/gtagsop.c?cvsroot=global&r1=1.142&r2=1.143
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Global-commit] global THANKS libutil/gtagsop.c,
Shigio YAMAGUCHI <=