mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 03:50:27 +08:00
* pt.c (convert_nontype_argument): Fix typo.
From-SVN: r17838
This commit is contained in:
parent
3ab1919cc2
commit
c29c4e238e
@ -1,6 +1,7 @@
|
||||
Tue Feb 10 23:41:57 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
Tue Feb 10 23:56:46 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* pt.c (check_explicit_specialization): Allow old-style specialization
|
||||
* pt.c (convert_nontype_argument): Fix typo.
|
||||
(check_explicit_specialization): Allow old-style specialization
|
||||
of class template members.
|
||||
|
||||
Tue Feb 10 20:36:52 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
@ -1491,7 +1491,7 @@ convert_nontype_argument (type, expr)
|
||||
return error_mark_node;
|
||||
}
|
||||
}
|
||||
else if (TREE_CODE (expr_type) == VAR_DECL)
|
||||
else if (TREE_CODE (expr) == VAR_DECL)
|
||||
{
|
||||
if (!TREE_PUBLIC (expr))
|
||||
goto bad_argument;
|
||||
|
Loading…
x
Reference in New Issue
Block a user