aboutsummaryrefslogtreecommitdiff
path: root/gdb/expread.y
diff options
context:
space:
mode:
authorgdb-2.5.2 <gdb@fsf.org>1988-06-01 01:00:00 +0100
committerPedro Alves <palves@redhat.com>2012-06-03 15:36:30 +0100
commit6368691e88d78f0bb6a46b74d7ed86118ac84e8b (patch)
tree73bf36a5f6dbef8284d2632e1490198cfc421867 /gdb/expread.y
parent632ea0ccc5c4c3f9fc06881bfedfc4b075873941 (diff)
downloadgdb-6368691e88d78f0bb6a46b74d7ed86118ac84e8b.zip
gdb-6368691e88d78f0bb6a46b74d7ed86118ac84e8b.tar.gz
gdb-6368691e88d78f0bb6a46b74d7ed86118ac84e8b.tar.bz2
gdb-2.5.2
Diffstat (limited to 'gdb/expread.y')
-rw-r--r--gdb/expread.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/expread.y b/gdb/expread.y
index d9a18ea..996ca21 100644
--- a/gdb/expread.y
+++ b/gdb/expread.y
@@ -578,13 +578,13 @@ type : typebase
| type '&'
{ $$ = lookup_reference_type ($1); }
| typebase COLONCOLON '*'
- { $$ = lookup_member_pointer_type (builtin_type_int, $1); }
+ { $$ = lookup_member_type (builtin_type_int, $1); }
| type '(' typebase COLONCOLON '*' ')'
- { $$ = lookup_member_pointer_type ($1, $3); }
+ { $$ = lookup_member_type ($1, $3); }
| type '(' typebase COLONCOLON '*' ')' '(' ')'
- { $$ = lookup_member_pointer_type (lookup_function_type ($1, 0), $3); }
+ { $$ = lookup_member_type (lookup_function_type ($1, 0), $3); }
| type '(' typebase COLONCOLON '*' ')' '(' nonempty_typelist ')'
- { $$ = lookup_member_pointer_type (lookup_function_type ($1, $8), $3);
+ { $$ = lookup_member_type (lookup_function_type ($1, $8), $3);
free ($8); }
;