On 12/1/05, Akim Demaille <akim(a)lrde.epita.fr> wrote:
Did we decide not to use "avoid"? If it is
not the case, then I'm not
sure I understand why the following amb is not dealt with from the
parser itself.
"sizeof" "(" TypeName ")" -> UnaryExpression
{cons("sizeof1")}
"sizeof" UnaryExpression -> UnaryExpression
{cons("sizeof")}
int f(void)
{
int i;
return sizeof(i);
}
----
typedef int i;
int f(void)
{
return sizeof(i);
}
--
Valentin David
valentin.david(a)gmail.com