diff options
Diffstat (limited to 'gdb/expread.y')
-rw-r--r-- | gdb/expread.y | 8 |
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); } ; |