* config/tc-i386.c (i386_immediate): Skip whitespace before
complaining about junk after expression. (i386_displacement): Likewise.
This commit is contained in:
parent
33fbbfbc00
commit
83183c0c36
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* config/tc-i386.c (i386_immediate): Skip whitespace before
|
||||
complaining about junk after expression.
|
||||
(i386_displacement): Likewise.
|
||||
|
||||
Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* symbols.c (symbol_find_base): Use memcpy instead of strcpy.
|
||||
|
|
|
@ -2602,6 +2602,7 @@ i386_immediate (imm_start)
|
|||
|
||||
exp_seg = expression (exp);
|
||||
|
||||
SKIP_WHITESPACE ();
|
||||
if (*input_line_pointer)
|
||||
as_bad (_("Ignoring junk `%s' after expression"), input_line_pointer);
|
||||
|
||||
|
@ -2847,6 +2848,7 @@ i386_displacement (disp_start, disp_end)
|
|||
}
|
||||
#endif
|
||||
|
||||
SKIP_WHITESPACE ();
|
||||
if (*input_line_pointer)
|
||||
as_bad (_("Ignoring junk `%s' after expression"),
|
||||
input_line_pointer);
|
||||
|
|
Loading…
Reference in a new issue