From 98467bd897ac0b980a9f89298f02edd0f1a8037f Mon Sep 17 00:00:00 2001 From: gdr Date: Sun, 4 Feb 2007 00:37:32 +0000 Subject: [PATCH] * decl.c (grokdeclarator): Update documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121561 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 47ac05f..661f89d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2007-02-03 Gabriel Dos Reis + + * decl.c (grokdeclarator): Update documentation. + 2007-02-02 Jakub Jelinek PR c++/30536 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index a98d902..663bc5a 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -6873,8 +6873,8 @@ check_var_type (tree identifier, tree type) the name and type of the object declared and construct a DECL node for it. - DECLSPECS is a chain of tree_list nodes whose value fields - are the storage classes and type specifiers. + DECLSPECS points to the representation of declaration-specifier + sequence that precedes declarator. DECL_CONTEXT says which syntactic context this declaration is in: NORMAL for most contexts. Make a VAR_DECL or FUNCTION_DECL or TYPE_DECL. -- 2.7.4