From 7b3b9282006ae00aeef94ae370016b7d160a8202 Mon Sep 17 00:00:00 2001 From: pk Date: Wed, 25 May 1994 13:52:48 +0000 Subject: [PATCH] Adapt to new app.c --- gnu/usr.bin/gas/config/tc-i386.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/gas/config/tc-i386.c b/gnu/usr.bin/gas/config/tc-i386.c index 578d9e637b1c..a5b8022a0cef 100644 --- a/gnu/usr.bin/gas/config/tc-i386.c +++ b/gnu/usr.bin/gas/config/tc-i386.c @@ -25,7 +25,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: tc-i386.c,v 1.7 1994/04/07 19:21:36 mycroft Exp $"; +static char rcsid[] = "$Id: tc-i386.c,v 1.8 1994/05/25 13:52:48 pk Exp $"; #endif #include "as.h" @@ -637,7 +637,7 @@ char *line; ordinal_names[i.operands]); return; } else break; /* we are done */ - } else if (! is_operand_char(*l)) { + } else if (! is_operand_char(*l) && ! is_space_char(*l)) { as_bad("invalid character %s in %s operand", output_invalid(*l), ordinal_names[i.operands]); @@ -1406,6 +1406,7 @@ char *operand_string; save_input_line_pointer = input_line_pointer; /* must advance op_string! */ input_line_pointer = ++op_string; + SKIP_WHITESPACE (); exp_seg = expression(exp); input_line_pointer = save_input_line_pointer;