* c-exp.y (type): Remove incorrect pointer to member case.
* objc-exp.y (type): Likewise. * p-exp.y (type): Likewise.
This commit is contained in:
parent
02c21251a2
commit
a22229c4cd
4 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* c-exp.y (type): Remove incorrect pointer to member case.
|
||||||
|
* objc-exp.y (type): Likewise.
|
||||||
|
* p-exp.y (type): Likewise.
|
||||||
|
|
||||||
2006-08-01 Mark Kettenis <kettenis@gnu.org>
|
2006-08-01 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* arm-tdep.h (enum struct_return): New.
|
* arm-tdep.h (enum struct_return): New.
|
||||||
|
|
|
@ -790,7 +790,7 @@ func_mod: '(' ')'
|
||||||
{ free ($2); $$ = 0; }
|
{ free ($2); $$ = 0; }
|
||||||
;
|
;
|
||||||
|
|
||||||
/* We used to try to recognize more pointer to member types here, but
|
/* We used to try to recognize pointer to member types here, but
|
||||||
that didn't work (shift/reduce conflicts meant that these rules never
|
that didn't work (shift/reduce conflicts meant that these rules never
|
||||||
got executed). The problem is that
|
got executed). The problem is that
|
||||||
int (foo::bar::baz::bizzle)
|
int (foo::bar::baz::bizzle)
|
||||||
|
@ -799,8 +799,6 @@ func_mod: '(' ')'
|
||||||
is a pointer to member type. Stroustrup loses again! */
|
is a pointer to member type. Stroustrup loses again! */
|
||||||
|
|
||||||
type : ptype
|
type : ptype
|
||||||
| typebase COLONCOLON '*'
|
|
||||||
{ $$ = lookup_member_type (builtin_type (current_gdbarch)->builtin_int, $1); }
|
|
||||||
;
|
;
|
||||||
|
|
||||||
typebase /* Implements (approximately): (type-qualifier)* type-specifier */
|
typebase /* Implements (approximately): (type-qualifier)* type-specifier */
|
||||||
|
|
|
@ -858,8 +858,6 @@ func_mod: '(' ')'
|
||||||
is a pointer to member type. Stroustrup loses again! */
|
is a pointer to member type. Stroustrup loses again! */
|
||||||
|
|
||||||
type : ptype
|
type : ptype
|
||||||
| typebase COLONCOLON '*'
|
|
||||||
{ $$ = lookup_member_type (builtin_type_int, $1); }
|
|
||||||
;
|
;
|
||||||
|
|
||||||
typebase /* Implements (approximately): (type-qualifier)* type-specifier. */
|
typebase /* Implements (approximately): (type-qualifier)* type-specifier. */
|
||||||
|
|
|
@ -718,8 +718,6 @@ ptype : typebase
|
||||||
is a pointer to member type. Stroustrup loses again! */
|
is a pointer to member type. Stroustrup loses again! */
|
||||||
|
|
||||||
type : ptype
|
type : ptype
|
||||||
| typebase COLONCOLON '*'
|
|
||||||
{ $$ = lookup_member_type (builtin_type_int, $1); }
|
|
||||||
;
|
;
|
||||||
|
|
||||||
typebase /* Implements (approximately): (type-qualifier)* type-specifier */
|
typebase /* Implements (approximately): (type-qualifier)* type-specifier */
|
||||||
|
|
Loading…
Add table
Reference in a new issue