From d2bdaea822070bcb22937b7ac43a358d3d3a2569 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 22 Apr 2007 05:27:58 +0000 Subject: * 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. --- gas/read.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'gas/read.c') diff --git a/gas/read.c b/gas/read.c index de5f661e043..b8fc157c831 100644 --- a/gas/read.c +++ b/gas/read.c @@ -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 -- cgit v1.2.1