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.

_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to