tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [BUG] Nested array/struct/union initialization proble


From: Marc Andre Tanner
Subject: Re: [Tinycc-devel] [BUG] Nested array/struct/union initialization problem
Date: Mon, 22 Oct 2007 23:45:56 +0200
User-agent: Mutt/1.5.16 (2007-06-11)

On Mon, Oct 22, 2007 at 12:09:57PM +0200, Marc Andre Tanner wrote:

> Note that type->t and (**cur_field)->type->t both differ by VT_STRUCT which 
> is defined as 7. So i think there is a bug in the parsing code which leds 
> it to think that it isn't a struct/union.

If you apply the attached patch, which is obviously not correct but works
around this particular issue, it actually compiles and runs. So there is
indeed something wrong with the type parsing haven't yet figured out
what though.

Marc

-- 
 Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0

Attachment: bug-workaround.patch
Description: Text Data


reply via email to

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