www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/14/20:02:17

From: Thomas Sepstrup Nielsen <tsn AT cryptomathic DOT dk>
Newsgroups: comp.os.msdos.djgpp
Subject: Bug in GNU Indent 1.9.1 compiled with DJGPP
Date: Mon, 14 Jul 1997 17:58:06 +0200
Organization: Cryptomathic A/S
Lines: 28
Message-ID: <33CA4C8E.911A15C6@cryptomathic.dk>
NNTP-Posting-Host: dupont.cryptomathic.dk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello there!

The indent.exe found in the ind191b.zip has a bug.

Try using indent on the following file (with an indent.pro of your
choice?).

----BEGIN
/*****************************************************
    INDENT.EXE will mess up the "#define BBB..." line
    caused by the two adjacent *'s in the very
    beginning of the comment apparently
*****************************************************/

#define  AAAAAAAAAAAAA     16
#define  BBBBBBBBBBBBB     96          /** Crash here **/
#define  CCCCCCCCCCCCC     224         /** Not here **/
----END

I've tried the GNU indent (same version 1.9.1) on our Linux, and the bug
doesn't show there.

Any ideas anyone? (Other than reformating the comments! ;-)

TIA

Thomas Sepstrup Nielsen
tsn AT cryptomathic DOT dk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019