aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2004-06-11 01:46:37 -0400
committerJason Merrill <jason@gcc.gnu.org>2004-06-11 01:46:37 -0400
commitafeebbc08ead47e1305c69c6129b7abc739ef4b1 (patch)
treec86d085132197f2adf0cd5839d30947416d4aa97
parent5801c4671e1109119701047bdd6ba833d622c95d (diff)
downloadgcc-afeebbc08ead47e1305c69c6129b7abc739ef4b1.zip
gcc-afeebbc08ead47e1305c69c6129b7abc739ef4b1.tar.gz
gcc-afeebbc08ead47e1305c69c6129b7abc739ef4b1.tar.bz2
fix typo
From-SVN: r82961
-rw-r--r--gcc/cp/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 17242ba..2f57d9d 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -10732,7 +10732,7 @@ cp_parser_direct_declarator (cp_parser* parser,
TYPE_IDENTIFIER (scope));
/* Build a new DECLARATOR. */
declarator = build_nt (SCOPE_REF,
- scope,
+ type,
TREE_OPERAND (declarator, 1));
}
}