aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/spew.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r--gcc/cp/spew.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index 296c8f6..68915a4 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -327,6 +327,11 @@ yylex()
case PTYPENAME:
lastiddecl = NULL_TREE;
break;
+ case NSNAME:
+ lastiddecl = trrr;
+ if (got_scope || got_object)
+ tmp_token.yylval.ttype = trrr;
+ break;
default:
my_friendly_abort (101);
}