Incorrect tab handling

Toshiaki Yoshida <[email protected]> Tue, 26 Aug 2014 13:53:22 +0900
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------060206020006070701090707
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

I think that source-highlight may incorrectly convert tabs to spaces 
when the option `--gen-references' is used.
I have attached the test code to this email.
I used the following options:

$ source-highlight -d -n --gen-references=inline test.c

If the `--gen-references' option isn't specified, tabs are correctly 
processed.

Here is the software version number:

$ source-highlight --version
GNU Source-highlight 3.1.6 (library: 4:0:0)
Copyright (C) 1999-2008 Lorenzo Bettini <http://www.lorenzobettini.it>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software; you may redistribute copies of the program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$ ctags --version
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
   Compiled: Feb 14 2013, 05:31:39
   Addresses: <[email protected]>, http://ctags.sourceforge.net
   Optional compiled features: +wildcards, +regex
$ uname -r
3.14.17-100.fc19.x86_64

Best regards,
Toshiaki Yoshida


--------------060206020006070701090707
Content-Type: text/x-csrc;
 name="test.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="test.c"

typedef uint8_t		u8;
typedef uint16_t	u16;

--------------060206020006070701090707
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Help-source-highlight mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-source-highlight

--------------060206020006070701090707--