bug-indent
[Top][All Lists]
Advanced

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

Bug found


From: Russell Wallace
Subject: Bug found
Date: Mon, 18 Jun 2012 13:24:13 +0100

Hi,

I found a bug in GNU Indent. It manifests both with version 2.2.10 on
Windows 7 and version 2.2.11-1 on Ubuntu. Minimal test case that
reproduces it: create two files in an otherwise empty directory, a.h
and b.h, with the following contents:

a.h
// *INDENT-OFF*

b.h
struct x
{
};

then:

$ indent *.h
indent: b.h:5: Error:Unexpected end of file

Sometimes small pieces of garbage will be added to b.h.



reply via email to

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