aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-01-04 13:12:27 +0000
committerKen Raeburn <raeburn@cygnus>1993-01-04 13:12:27 +0000
commitd841bc4954756057961b21e231fe7b81cec0e281 (patch)
tree2e4e8845451342a7584a6290a738ac1d54fdfabd /gas/expr.c
parentf53974be00779107c0ce31d54cd8dfae244ea4a6 (diff)
downloadgdb-d841bc4954756057961b21e231fe7b81cec0e281.zip
gdb-d841bc4954756057961b21e231fe7b81cec0e281.tar.gz
gdb-d841bc4954756057961b21e231fe7b81cec0e281.tar.bz2
comment reformatting
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c37
1 files changed, 11 insertions, 26 deletions
diff --git a/gas/expr.c b/gas/expr.c
index dabc105..4290e8b 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -365,9 +365,6 @@ operand (expressionP)
/* digits, assume it is a bignum. */
-
-
-
SKIP_WHITESPACE (); /* leading whitespace is part of operand. */
c = *input_line_pointer++; /* input_line_pointer->past char in c. */
@@ -458,7 +455,7 @@ operand (expressionP)
case 'f':
#ifdef LOCAL_LABELS_FB
/* if it says '0f' and the line ends or it doesn't look like
- a floating point #, its a local label ref. dtrt */
+ a floating point #, its a local label ref. dtrt */
/* likewise for the b's. xoxorich. */
if (c == 'f'
&& (!*input_line_pointer ||
@@ -508,11 +505,9 @@ operand (expressionP)
case '\'':
- /*
- * Warning: to conform to other people's assemblers NO ESCAPEMENT is permitted
- * for a single quote. The next character, parity errors and all, is taken
- * as the value of the operand. VERY KINKY.
- */
+ /* Warning: to conform to other people's assemblers NO ESCAPEMENT is
+ permitted for a single quote. The next character, parity errors and
+ all, is taken as the value of the operand. VERY KINKY. */
expressionP->X_add_number = *input_line_pointer++;
expressionP->X_seg = SEG_ABSOLUTE;
break;
@@ -530,10 +525,8 @@ operand (expressionP)
if (c == '-')
{
expressionP->X_add_number = -expressionP->X_add_number;
- /*
- * Notice: '-' may overflow: no warning is given. This is compatible
- * with other people's assemblers. Sigh.
- */
+ /* Notice: '-' may overflow: no warning is given. This is
+ compatible with other people's assemblers. Sigh. */
}
else
{
@@ -606,16 +599,15 @@ operand (expressionP)
if (is_name_beginner (c)) /* here if did not begin with a digit */
{
/*
- * Identifier begins here.
- * This is kludged for speed, so code is repeated.
- */
+ * Identifier begins here.
+ * This is kludged for speed, so code is repeated.
+ */
isname:
name = --input_line_pointer;
c = get_symbol_end ();
symbolP = symbol_find_or_make (name);
- /*
- * If we have an absolute symbol or a reg, then we know its value now.
- */
+ /* If we have an absolute symbol or a reg, then we know its value
+ now. */
expressionP->X_seg = S_GET_SEGMENT (symbolP);
switch (expressionP->X_seg)
{
@@ -1154,11 +1146,4 @@ get_single_number ()
}
-/*
- * Local Variables:
- * comment-column: 0
- * fill-column: 131
- * End:
- */
-
/* end of expr.c */