diff options
author | John Gilmore <gnu@cygnus> | 1992-09-10 00:07:06 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-09-10 00:07:06 +0000 |
commit | 2640f7e13856f4115d1f955b076f11272f5f3da0 (patch) | |
tree | 8a6bd711d3b3168db97ddf3036ff9ff34d0bffc6 /gdb/parse.c | |
parent | 5148923360989fb54088f499e4b4cefd14088f9a (diff) | |
download | gdb-2640f7e13856f4115d1f955b076f11272f5f3da0.zip gdb-2640f7e13856f4115d1f955b076f11272f5f3da0.tar.gz gdb-2640f7e13856f4115d1f955b076f11272f5f3da0.tar.bz2 |
Removed a large number of changes inserted by Per Bothner
for C++ support. These will go back in when they've been
examined.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 5cfad97..4090302 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -275,9 +275,6 @@ length_of_subexp (expr, endpos) switch (i) { - case STRUCTOP_STRUCT: - case STRUCTOP_PTR: - args = 1; /* C++ */ case OP_SCOPE: oplen = 4 + ((expr->elts[endpos - 2].longconst @@ -329,6 +326,9 @@ length_of_subexp (expr, endpos) args = 1; break; + case STRUCTOP_STRUCT: + case STRUCTOP_PTR: + args = 1; case OP_M2_STRING: case OP_STRING: oplen = 3 + ((expr->elts[endpos - 2].longconst @@ -393,9 +393,6 @@ prefixify_subexp (inexpr, outexpr, inend, outbeg) opcode = inexpr->elts[inend - 1].opcode; switch (opcode) { - case STRUCTOP_STRUCT: - case STRUCTOP_PTR: - args = 1; /* C++ */ case OP_SCOPE: oplen = 4 + ((inexpr->elts[inend - 2].longconst @@ -446,6 +443,9 @@ prefixify_subexp (inexpr, outexpr, inend, outbeg) args=1; break; + case STRUCTOP_STRUCT: + case STRUCTOP_PTR: + args = 1; case OP_M2_STRING: case OP_STRING: oplen = 3 + ((inexpr->elts[inend - 2].longconst |