* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.

This commit is contained in:
Joel Brobecker 2008-01-04 19:46:28 +00:00
parent 6799def481
commit bb28a9dcd8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
2008-01-04 Joel Brobecker <brobecker@adacore.com> 2008-01-04 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in

View File

@ -353,7 +353,7 @@ arglist : exp
{ $$ = $1 + 1; } { $$ = $1 + 1; }
; ;
simple_exp : '{' var_or_type '}' simple_exp %prec '.' primary : '{' var_or_type '}' primary %prec '.'
/* GDB extension */ /* GDB extension */
{ {
if ($2 == NULL) if ($2 == NULL)