mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* ch-exp.y: Handle <primitive_value> "->" <modename>.
This fixes PR chill/6932.
This commit is contained in:
parent
b726a3d884
commit
3029162cdf
@ -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…
Reference in New Issue
Block a user