[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in bison :: yylval corruption.
From: |
wim delvaux |
Subject: |
bug in bison :: yylval corruption. |
Date: |
Thu, 1 May 2003 05:06:55 +0200 |
User-agent: |
KMail/1.5.1 |
Situation :
a : r
{ $<StructValue>$ = CreateSomeValue();
}
b c d
{ ConsumeInitialisedValue( &$<StructValue>2 );
}
b :
x1
| x2
| { SomeAction; //////// HERE $<StructValue>$ GETS OVERWRITTEN !!!!
}
x3
;
yylen in the yylval = yyvsp[1-yylen] is 0 causing the comment just above the
assignment to match. Strange thing is that the $<>$ value is overwritten
with garbage ????
W
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug in bison :: yylval corruption.,
wim delvaux <=