* ch-exp.y: Handle <primitive_value> "->" <modename>.
This fixes PR chill/6932.
This commit is contained in:
parent
b726a3d884
commit
3029162cdf
1 changed files with 7 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue