summaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-08-02 03:13:20 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-08-02 03:13:20 +0000
commitc5534e68be4b3fe66f6377bc24c74977f7d74d34 (patch)
treedf8cfa5c601611889bdef9abbfab8b82cfdad3ec /gdb/p-exp.y
parentde8083030c9c4f513eaa9af41e626b65c9e3318c (diff)
downloadgdb-c5534e68be4b3fe66f6377bc24c74977f7d74d34.tar.gz
* c-exp.y (type): Remove incorrect pointer to member case.
* objc-exp.y (type): Likewise. * p-exp.y (type): Likewise.
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r--gdb/p-exp.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index e095a35b99c..b6279aee55e 100644
--- a/gdb/p-exp.y
+++ b/gdb/p-exp.y
@@ -718,8 +718,6 @@ ptype : typebase
is a pointer to member type. Stroustrup loses again! */
type : ptype
- | typebase COLONCOLON '*'
- { $$ = lookup_member_type (builtin_type_int, $1); }
;
typebase /* Implements (approximately): (type-qualifier)* type-specifier */