diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-04-21 23:30:18 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-04-21 23:30:18 +0000 |
commit | b0722fac381970a6231289a9a9fb772b43c127b4 (patch) | |
tree | 961e3713445be8eae59a2380b2d8ba42844fac0c /gcc/cp/spew.c | |
parent | ff9e1799715de871d17b2db10017268018c4a4f2 (diff) | |
download | gcc-b0722fac381970a6231289a9a9fb772b43c127b4.tar.gz |
33rd Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r-- | gcc/cp/spew.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c index b7fc7d57323..e85be53e476 100644 --- a/gcc/cp/spew.c +++ b/gcc/cp/spew.c @@ -311,7 +311,8 @@ yylex() if (lastiddecl != trrr) { lastiddecl = trrr; - tmp_token.yylval.ttype = DECL_NESTED_TYPENAME (trrr); + if (got_scope) + tmp_token.yylval.ttype = DECL_NESTED_TYPENAME (trrr); } break; case IDENTIFIER: @@ -326,6 +327,7 @@ yylex() } else lastiddecl = trrr; + got_scope = NULL_TREE; /* and fall through to... */ case TYPENAME: case PTYPENAME: |