typeck.c: Remove DOS line endings.

2004-12-08  Kelley Cook  <kcook@gcc.gnu.org>

	* typeck.c: Remove DOS line endings.

From-SVN: r91919
This commit is contained in:
Kelley Cook 2004-12-08 23:47:20 +00:00 committed by R. Kelley Cook
parent 323c74dacc
commit 8a21aa30d8
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2004-12-08 Kelley Cook <kcook@gcc.gnu.org>
* typeck.c: Remove DOS line endings.
2004-12-08 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/18100

View File

@ -3728,12 +3728,12 @@ build_unary_op (enum tree_code code, tree xarg, int noconvert)
/* CONVERT_EXPR stands for unary plus in this context. */
case CONVERT_EXPR:
case NEGATE_EXPR:
{
int flags = WANT_ARITH | WANT_ENUM;
/* Unary plus (but not unary minus) is allowed on pointers. */
if (code == CONVERT_EXPR)
flags |= WANT_POINTER;
arg = build_expr_type_conversion (flags, arg, true);
{
int flags = WANT_ARITH | WANT_ENUM;
/* Unary plus (but not unary minus) is allowed on pointers. */
if (code == CONVERT_EXPR)
flags |= WANT_POINTER;
arg = build_expr_type_conversion (flags, arg, true);
if (!arg)
errstring = (code == NEGATE_EXPR
? "wrong type argument to unary minus"