* ch-exp.y: Handle <primitive_value> "->" <modename>.

This fixes PR chill/6932.
This commit is contained in:
Per Bothner 1995-06-08 00:49:10 +00:00
parent b726a3d884
commit 3029162cdf

View File

@ -414,6 +414,13 @@ primitive_value :
{
write_exp_elt_opcode (UNOP_IND);
}
| primitive_value POINTER mode_name
{
write_exp_elt_opcode (UNOP_CAST);
write_exp_elt_type (lookup_pointer_type ($3.type));
write_exp_elt_opcode (UNOP_CAST);
write_exp_elt_opcode (UNOP_IND);
}
| value_name
{
$$ = 0; /* FIXME */