[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug found
From: |
Petr Pisar |
Subject: |
Re: Bug found |
Date: |
Mon, 18 Jun 2012 17:28:01 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jun 18, 2012 at 01:24:13PM +0100, Russell Wallace wrote:
>
> 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.
>
Despite the a.h content is not a valid C code, I can reproduce the b.h
corruption with indent-2.2.11 on Gento and Fedora. Even after making a.h
valid.
I think the indent parser does not reset state completely when handing new
file over.
-- Petr
- Bug found, Russell Wallace, 2012/06/18
- Re: Bug found,
Petr Pisar <=