* p-exp.y (exp : SIZEOF '(' exp ')'): New rule.
This commit is contained in:
parent
48cb83fdd0
commit
28e176a623
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-05-08 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
|
* p-exp.y (exp : SIZEOF '(' exp ')'): New rule.
|
||||||
|
|
||||||
2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg
|
* dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg
|
||||||
|
|
|
@ -525,6 +525,9 @@ exp : SIZEOF '(' type ')' %prec UNARY
|
||||||
write_exp_elt_opcode (OP_LONG); }
|
write_exp_elt_opcode (OP_LONG); }
|
||||||
;
|
;
|
||||||
|
|
||||||
|
exp : SIZEOF '(' exp ')' %prec UNARY
|
||||||
|
{ write_exp_elt_opcode (UNOP_SIZEOF); }
|
||||||
|
|
||||||
exp : STRING
|
exp : STRING
|
||||||
{ /* C strings are converted into array constants with
|
{ /* C strings are converted into array constants with
|
||||||
an explicit null byte added at the end. Thus
|
an explicit null byte added at the end. Thus
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue