aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-09-03 21:51:27 +0000
committerNick Clifton <nickc@redhat.com>2000-09-03 21:51:27 +0000
commit958b5f013a872eaad7b74154f8f6505c0ae52c0c (patch)
tree56f090f4c3f1ef591748640eeafc55b2aba36a5c /gas
parent6ddeca85d504ad360083f59e0d241b456403388c (diff)
downloadgdb-958b5f013a872eaad7b74154f8f6505c0ae52c0c.zip
gdb-958b5f013a872eaad7b74154f8f6505c0ae52c0c.tar.gz
gdb-958b5f013a872eaad7b74154f8f6505c0ae52c0c.tar.bz2
fix formatting
Diffstat (limited to 'gas')
-rw-r--r--gas/expr.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 09f38b1..c8e0f46 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -859,7 +859,7 @@ operand (expressionP)
input_line_pointer++;
floating_constant (expressionP);
expressionP->X_add_number =
- -(isupper ((unsigned char) c) ? tolower (c) : c);
+ - (isupper ((unsigned char) c) ? tolower (c) : c);
}
else
{
@@ -982,7 +982,7 @@ operand (expressionP)
input_line_pointer++;
floating_constant (expressionP);
expressionP->X_add_number =
- -(isupper ((unsigned char) c) ? tolower (c) : c);
+ - (isupper ((unsigned char) c) ? tolower (c) : c);
break;
case '$':
@@ -1069,7 +1069,7 @@ operand (expressionP)
/* input_line_pointer -> char after operand. */
if (c == '-')
{
- expressionP->X_add_number = -expressionP->X_add_number;
+ expressionP->X_add_number = - expressionP->X_add_number;
/* Notice: '-' may overflow: no warning is given.
This is compatible with other people's
assemblers. Sigh. */
@@ -1817,27 +1817,27 @@ expr (rankarg, resultP)
case O_subtract: resultP->X_add_number -= v; break;
case O_eq:
resultP->X_add_number =
- resultP->X_add_number == v ? ~(offsetT) 0 : 0;
+ resultP->X_add_number == v ? ~ (offsetT) 0 : 0;
break;
case O_ne:
resultP->X_add_number =
- resultP->X_add_number != v ? ~(offsetT) 0 : 0;
+ resultP->X_add_number != v ? ~ (offsetT) 0 : 0;
break;
case O_lt:
resultP->X_add_number =
- resultP->X_add_number < v ? ~(offsetT) 0 : 0;
+ resultP->X_add_number < v ? ~ (offsetT) 0 : 0;
break;
case O_le:
resultP->X_add_number =
- resultP->X_add_number <= v ? ~(offsetT) 0 : 0;
+ resultP->X_add_number <= v ? ~ (offsetT) 0 : 0;
break;
case O_ge:
resultP->X_add_number =
- resultP->X_add_number >= v ? ~(offsetT) 0 : 0;
+ resultP->X_add_number >= v ? ~ (offsetT) 0 : 0;
break;
case O_gt:
resultP->X_add_number =
- resultP->X_add_number > v ? ~(offsetT) 0 : 0;
+ resultP->X_add_number > v ? ~ (offsetT) 0 : 0;
break;
case O_logical_and:
resultP->X_add_number = resultP->X_add_number && v;