expr.c (operand): handle logical end-of-line characters line newline
authorKen Raeburn <raeburn@cygnus>
Tue, 5 Jan 1993 14:17:21 +0000 (14:17 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 5 Jan 1993 14:17:21 +0000 (14:17 +0000)
gas/ChangeLog
gas/expr.c

index 0fe6fb9d52be82856711abbe2080bc97734fa1fa..407b6340d1674355a9406211f81792543023ad5c 100644 (file)
@@ -1,5 +1,8 @@
 Tue Jan  5 08:42:16 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * expr.c (operand): If character other than comma or newline is a
+       logical end-of-line character, use the newline case.
+
        * configure.in (per-target): Look for with_bfd_assembler option.
        For now, only accept "no", until the merge is done.
 
index 4290e8b7091413c0cebab7720d1e5e53409f711a..bfcb8e658f5ec2129425c8999fc6fbdec2b00188 100644 (file)
@@ -589,13 +589,16 @@ operand (expressionP)
        }
     case ',':
     case '\n':
+    eol:
       /* can't imagine any other kind of operand */
       expressionP->X_seg = SEG_ABSENT;
       input_line_pointer--;
       md_operand (expressionP);
       break;
-      /* Fall through */
+
     default:
+      if (is_end_of_line[c])
+       goto eol;
       if (is_name_beginner (c))        /* here if did not begin with a digit */
        {
          /*