* decl.c (start_decl): Add missing parentheses.

From-SVN: r94483
This commit is contained in:
Mark Mitchell 2005-01-31 16:16:16 +00:00 committed by Mark Mitchell
parent a7a52913cf
commit 4e8f0a2e12
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-01-31 Mark Mitchell <mark@codesourcery.com>
* decl.c (start_decl): Add missing parentheses.
2005-01-30 Mark Mitchell <mark@codesourcery.com>
PR c++/19555

View File

@ -3702,7 +3702,7 @@ start_decl (const cp_declarator *declarator,
/* cp_finish_decl sets DECL_EXTERNAL if DECL_IN_AGGR_P is set. */
DECL_IN_AGGR_P (decl) = 0;
if (DECL_LANG_SPECIFIC (decl) && DECL_USE_TEMPLATE (decl)
if ((DECL_LANG_SPECIFIC (decl) && DECL_USE_TEMPLATE (decl))
|| CLASSTYPE_TEMPLATE_INSTANTIATION (context))
{
/* Do not mark DECL as an explicit specialization if it was