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 <[email protected]>: > 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 > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-global > > -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
