Bug found
Russell Wallace <[email protected]> Mon, 18 Jun 2012 13:24:13 +0100
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <CAH+nB+zKSdZ1XL8=igjhB1tgC-fcwVFQ=1RcUwPF_9Xt6KnD4w@mail.gmail.com> |
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.