* read.c (read_a_source_file): Skip multiple spaces to
authorAlan Modra <amodra@gmail.com>
Sun, 22 Apr 2007 05:27:58 +0000 (05:27 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 22 Apr 2007 05:27:58 +0000 (05:27 +0000)
cover hack in mmix md_start_line_hook which overwrites a
colon with a space.  Delete sermon and needless assertion.

gas/ChangeLog
gas/read.c

index 4e8de5f861cfcf0081c168cda466cd99d4037e10..0985ecea082bdb7fe6d768c30119036cce418663 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c (read_a_source_file): Skip multiple spaces to
+       cover hack in mmix md_start_line_hook which overwrites a
+       colon with a space.  Delete sermon and needless assertion.
+
 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
 
        * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
index de5f661e04305577cc2f281d69d82c9c7da6cb6a..b8fc157c831509cbd7049f398ecf1dbf210a1a06 100644 (file)
@@ -695,18 +695,11 @@ read_a_source_file (char *name)
 
             Depending on what compiler is used, the order of these tests
             may vary to catch most common case 1st.
-            Each test is independent of all other tests at the (top) level.
-            PLEASE make a compiler that doesn't use this assembler.
-            It is crufty to waste a compiler's time encoding things for this
-            assembler, which then wastes more time decoding it.
-            (And communicating via (linear) files is silly!
-            If you must pass stuff, please pass a tree!)  */
-         if ((c = *input_line_pointer++) == '\t'
-             || c == ' '
-             || c == '\f')
+            Each test is independent of all other tests at the (top)
+            level.  */
+         do
            c = *input_line_pointer++;
-
-         know (c != ' ');      /* No further leading whitespace.  */
+         while (c == '\t' || c == ' ' || c == '\f');
 
 #ifndef NO_LISTING
          /* If listing is on, and we are expanding a macro, then give
This page took 0.038615 seconds and 4 git commands to generate.