bug-global
[Top][All Lists]
Advanced

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

Re: Tags in the specified file and newlines.


From: Shigio YAMAGUCHI
Subject: Re: Tags in the specified file and newlines.
Date: Sat, 4 Jun 2016 09:22:43 +0900

Hi,
It is very useful.
But it seems to be a little difficult to make it perfectly in the
present implementation.

In the case of standard format of GTAGS (by gtags without -c option),
it can be realized by just rewriting parsers.

In the case of compact format (by gtags -c), it is difficult.
In the present implementation, GTAGS has no source code and global(1)
has no knowledge about languages. So, global(1) need to read source
code and modify definition lines.

There may be a function limited to the standard format.

Regards,
Shigio


2016-06-03 21:30 GMT+09:00 Jacek Migacz <address@hidden>:
Hello,

for code formatted like this:

void f(int x,
        int y) {

'global -f <FILE>' would yield:
FILE    LINUM    FILE f(int x,

How about output like:
FILE    LINUM    FILE f(int x, int y)

Is is possible to achieve it with current parser implementation?

Thanks,
Jacek Migacz


_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global




--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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