mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
testing for NULs.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2001-05-22 Alan Modra <amodra@one.net.au>
|
2001-05-22 Alan Modra <amodra@one.net.au>
|
||||||
|
|
||||||
|
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
|
||||||
|
testing for NULs.
|
||||||
|
|
||||||
* symbols.c (resolve_symbol_value): Remove "finalize" param,
|
* symbols.c (resolve_symbol_value): Remove "finalize" param,
|
||||||
instead use finalize_syms directly. Don't treat expressions
|
instead use finalize_syms directly. Don't treat expressions
|
||||||
specially with regard to finalize_syms. Update calls to self.
|
specially with regard to finalize_syms. Update calls to self.
|
||||||
|
@ -631,7 +631,7 @@ md_assemble (str)
|
|||||||
/* Is there anything left to parse?
|
/* Is there anything left to parse?
|
||||||
We don't check for this at the top because we want to parse
|
We don't check for this at the top because we want to parse
|
||||||
any trailing fake arguments in the syntax string. */
|
any trailing fake arguments in the syntax string. */
|
||||||
if (*str == '\0')
|
if (is_end_of_line[(unsigned char) *str])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Parse the operand. */
|
/* Parse the operand. */
|
||||||
@ -739,7 +739,7 @@ md_assemble (str)
|
|||||||
while (isspace (*str))
|
while (isspace (*str))
|
||||||
++str;
|
++str;
|
||||||
|
|
||||||
if (*str != '\0')
|
if (!is_end_of_line[(unsigned char) *str])
|
||||||
as_bad ("junk at end of line: `%s'", str);
|
as_bad ("junk at end of line: `%s'", str);
|
||||||
|
|
||||||
/* Is there a limm value? */
|
/* Is there a limm value? */
|
||||||
|
Reference in New Issue
Block a user