diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-29 20:52:06 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-29 20:52:06 +0000 |
commit | 393e55bac4eb94d68b08c6847eae9e40905d2e3e (patch) | |
tree | ddacc864dc47833284adfe0f94e4c0b9c3850bf4 /gdb/c-exp.y | |
parent | 88b245830aa4d4872ed49bf7768e90f06f9a2c68 (diff) | |
download | gdb-393e55bac4eb94d68b08c6847eae9e40905d2e3e.zip gdb-393e55bac4eb94d68b08c6847eae9e40905d2e3e.tar.gz gdb-393e55bac4eb94d68b08c6847eae9e40905d2e3e.tar.bz2 |
* c-exp.y: Revert Kung's change. "..." is not a type, and the
change caused "p (...)0" to dump core.
* gdbtypes.c (check_stub_method): Don't pass "..." to
parse_and_eval_type. This should fix the bug which Kung was
trying to fix.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index f58424f..ebc1ca6 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -831,7 +831,6 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */ be too. */ | CONST_KEYWORD typebase { $$ = $2; } | VOLATILE_KEYWORD typebase { $$ = $2; } - | '.' '.' '.' { $$ = NULL; } ; typename: TYPENAME |