diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-01-29 00:59:50 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-01-29 00:59:50 +0000 |
commit | f28c6e3813995dcd511ab74f41bdacb6f53fa27d (patch) | |
tree | 59c3ac2ffe4beb45a50845437d39bd40f18344b0 /gdb/c-exp.y | |
parent | 098630a0e002354371aa4c3dfc64b190fb8ab6a6 (diff) | |
download | gdb-f28c6e3813995dcd511ab74f41bdacb6f53fa27d.zip gdb-f28c6e3813995dcd511ab74f41bdacb6f53fa27d.tar.gz gdb-f28c6e3813995dcd511ab74f41bdacb6f53fa27d.tar.bz2 |
* c-exp.y (yylex): Reenable nested type code.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 7263979..8860dfc 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1522,7 +1522,11 @@ yylex () } if (sym && SYMBOL_CLASS (sym) == LOC_TYPEDEF) { -#if 0 +#if 1 + /* Despite the following flaw, we need to keep this code enabled. + Because we can get called from check_stub_method, if we don't + handle nested types then it screws many operations in any + program which uses nested types. */ /* In "A::x", if x is a member function of A and there happens to be a type (nested or not, since the stabs don't make that distinction) named x, then this code incorrectly thinks we |