aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/spew.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1996-02-28 22:01:56 +0000
committerMike Stump <mrs@gcc.gnu.org>1996-02-28 22:01:56 +0000
commit5566b478bdfe8bfc554a57f2631c1d3646ac4ae2 (patch)
tree7e6683aeddf5dd90371df24d386ca3fd7048ee5c /gcc/cp/spew.c
parent8bd04c565300c201dca9307a5a9173ed31d02494 (diff)
downloadgcc-5566b478bdfe8bfc554a57f2631c1d3646ac4ae2.zip
gcc-5566b478bdfe8bfc554a57f2631c1d3646ac4ae2.tar.gz
gcc-5566b478bdfe8bfc554a57f2631c1d3646ac4ae2.tar.bz2
83rd Cygnus<->FSF merge
From-SVN: r11362
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r--gcc/cp/spew.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index a0250e5..6564cab 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -295,8 +295,8 @@ yylex()
if (lastiddecl != trrr)
{
lastiddecl = trrr;
- if (got_scope || got_object)
- tmp_token.yylval.ttype = DECL_NESTED_TYPENAME (trrr);
+ if (got_scope)
+ tmp_token.yylval.ttype = trrr;
}
break;
case IDENTIFIER:
@@ -307,7 +307,7 @@ yylex()
break;
case NSNAME:
lastiddecl = trrr;
- if (got_scope || got_object)
+ if (got_scope)
tmp_token.yylval.ttype = trrr;
break;
default:
@@ -352,6 +352,7 @@ yylex()
consume_token();
}
+ got_object = NULL_TREE;
yylval = tmp_token.yylval;
yychar = tmp_token.yychar;
end_of_file = tmp_token.end_of_file;