bug-global
[Top][All Lists]
Advanced

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

Re: source text not including leading whitespace


From: Shigio YAMAGUCHI
Subject: Re: source text not including leading whitespace
Date: Mon, 3 Mar 2014 08:03:04 +0900

Hi Leo,
If possible, would you please show me the command line that
you executed. I'm confused because it seems that the source
line ('#define SLIST_INIT') does not have 'leading white space'.


2014-03-02 23:03 GMT+09:00 Leo Liu <address@hidden>:
Source text I mean, for example, ``#define SLIST_INIT(head) { \'' as in
this 'grep output format:

libdb/queue.h:138:#define SLIST_INIT(head) { \

The output is slightly different with and without using ctags plugin.

If the project is indexed by gtags without the ctags, the whole source
line is printed i.e. FILE:LINE:SOURCE LINE

If the project is indexed by gtags with ctags plugin, the leading
whitespace of the source line is stripped before being printed after
FILE:LINE.

The source text in the cscope output format also strips the leading
whitespace regardless of ctags.

I am not sure this inconsistency is intentional. Thus this report.

Personally I prefer having the source text printed as it is without any
transformation.

BTW,

Leo


_______________________________________________
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]