aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2007-02-04 00:37:32 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2007-02-04 00:37:32 +0000
commit5e32a5cf7f15f8e6b4e992a1a2ec8c58d8e55bf6 (patch)
tree728d1a324ac8d1c7666f0826067d7bb086ac550f /gcc
parentf14d05aeda98d119224c95a4a12134e2ba38cd80 (diff)
downloadgcc-5e32a5cf7f15f8e6b4e992a1a2ec8c58d8e55bf6.zip
gcc-5e32a5cf7f15f8e6b4e992a1a2ec8c58d8e55bf6.tar.gz
gcc-5e32a5cf7f15f8e6b4e992a1a2ec8c58d8e55bf6.tar.bz2
* decl.c (grokdeclarator): Update documentation.
From-SVN: r121561
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c4
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 <gdr@integrable-solutions.net>
+
+ * decl.c (grokdeclarator): Update documentation.
+
2007-02-02 Jakub Jelinek <jakub@redhat.com>
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.