aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-01-04 19:46:28 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-01-04 19:46:28 +0000
commitbb28a9dcd8450fd66f9228050f677c0b6e6c04fd (patch)
treea3c9ab3a94fe2162782e1e5f154d2fd7d8748f6d /gdb/ada-exp.y
parent6799def48172fb4c23cd55e67faa0c9fc3b74dfb (diff)
downloadgdb-bb28a9dcd8450fd66f9228050f677c0b6e6c04fd.zip
gdb-bb28a9dcd8450fd66f9228050f677c0b6e6c04fd.tar.gz
gdb-bb28a9dcd8450fd66f9228050f677c0b6e6c04fd.tar.bz2
* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 3ba9f6c..1f7f13f 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -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)