expr.c (operand): handle logical end-of-line characters line newline
This commit is contained in:
parent
6c5f99985e
commit
0bd77bc4fc
@ -1,5 +1,8 @@
|
|||||||
Tue Jan 5 08:42:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
Tue Jan 5 08:42:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
||||||
|
|
||||||
|
* expr.c (operand): If character other than comma or newline is a
|
||||||
|
logical end-of-line character, use the newline case.
|
||||||
|
|
||||||
* configure.in (per-target): Look for with_bfd_assembler option.
|
* configure.in (per-target): Look for with_bfd_assembler option.
|
||||||
For now, only accept "no", until the merge is done.
|
For now, only accept "no", until the merge is done.
|
||||||
|
|
||||||
|
@ -589,13 +589,16 @@ operand (expressionP)
|
|||||||
}
|
}
|
||||||
case ',':
|
case ',':
|
||||||
case '\n':
|
case '\n':
|
||||||
|
eol:
|
||||||
/* can't imagine any other kind of operand */
|
/* can't imagine any other kind of operand */
|
||||||
expressionP->X_seg = SEG_ABSENT;
|
expressionP->X_seg = SEG_ABSENT;
|
||||||
input_line_pointer--;
|
input_line_pointer--;
|
||||||
md_operand (expressionP);
|
md_operand (expressionP);
|
||||||
break;
|
break;
|
||||||
/* Fall through */
|
|
||||||
default:
|
default:
|
||||||
|
if (is_end_of_line[c])
|
||||||
|
goto eol;
|
||||||
if (is_name_beginner (c)) /* here if did not begin with a digit */
|
if (is_name_beginner (c)) /* here if did not begin with a digit */
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user