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 patc
Dave Dodge wrote:
On Wed, Sep 26, 2007 at 02:46:45AM -0500, Rob Landley wrote:
Anyway, the first thing I'd do is try to pare the test case down to
something smaller.
struct foo{
union{
int i;
};
};
static struct foo f = {
{ .i = 0 }
};
I'm currently looking at unary() fo
On Wed, Sep 26, 2007 at 02:46:45AM -0500, Rob Landley wrote:
> Anyway, the first thing I'd do is try to pare the test case down to
> something smaller.
struct foo{
union{
int i;
};
};
static struct foo f = {
{ .i = 0 }
};
> I'm currently looking at unary() for one of the othe
On Tuesday 25 September 2007 11:37:01 am Marc Andre Tanner wrote:
> Hi,
>
> Okay this is currently way too complicated for me to solve on my own.
> The follwoing code sniped demonstrates the issue. Tcc exits with:
>
> bug.c:13: identifier expected
>
> The call to expect comes from within unary
On Tue, Sep 25, 2007 at 06:37:01PM +0200, Marc Andre Tanner wrote:
> The call to expect comes from within unary () at tcc.c:6587 where t = '.'
>
> struct format_option {
> union {
> const char * fo_str ;
> int fo_int ;
> int fo_time ;
>
Hi,
Okay this is currently way too complicated for me to solve on my own.
The follwoing code sniped demonstrates the issue. Tcc exits with:
bug.c:13: identifier expected
The call to expect comes from within unary () at tcc.c:6587 where t = '.'
struct format_option {
union {