]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 4 Jan 2008 19:46:28 +0000 (19:46 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 4 Jan 2008 19:46:28 +0000 (19:46 +0000)
gdb/ChangeLog
gdb/ada-exp.y

index 82f6ae80d99a8e8b3add7abe26e76a0ea92be596..ccc112fa0803749ba0422c427bf92c91220f5477 100644 (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>
 
        * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
index 3ba9f6c29f1752cbf8c465edd04ae66a4b561600..1f7f13fc821e8cfec1bd2fbacb985d401062d3df 100644 (file)
@@ -353,7 +353,7 @@ arglist     :       exp
                        { $$ = $1 + 1; }
        ;
 
-simple_exp :   '{' var_or_type '}' simple_exp  %prec '.'
+primary :      '{' var_or_type '}' primary  %prec '.'
                /* GDB extension */
                        { 
                          if ($2 == NULL)