mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 10:47:14 +08:00
* decl.c (grokvardecl): Fix thinko.
From-SVN: r23161
This commit is contained in:
parent
1eab9b5614
commit
820fcad8d1
@ -1,5 +1,7 @@
|
||||
1998-10-18 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* decl.c (grokvardecl): Fix thinko.
|
||||
|
||||
* decl.c (grokdeclarator): Embedded attrs bind to the right,
|
||||
not the left.
|
||||
|
||||
|
@ -8311,6 +8311,8 @@ grokvardecl (type, declarator, specbits_in, initialized, constp, in_namespace)
|
||||
context = in_namespace;
|
||||
else if (namespace_bindings_p () || RIDBIT_SETP (RID_EXTERN, specbits))
|
||||
context = current_namespace;
|
||||
else
|
||||
context = NULL_TREE;
|
||||
|
||||
decl = build_decl (VAR_DECL, declarator, complete_type (type));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user