* read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
This commit is contained in:
parent
e46482877c
commit
ee3c981485
3 changed files with 20 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-02-22 Catherine Moore <clm@cm00re.com>
|
||||||
|
|
||||||
|
* read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
|
||||||
|
* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
|
||||||
|
|
||||||
2005-02-22 Eric Christopher <echristo@redhat.com>
|
2005-02-22 Eric Christopher <echristo@redhat.com>
|
||||||
|
|
||||||
* config/tc-mips.c (struct proc): Change isym to
|
* config/tc-mips.c (struct proc): Change isym to
|
||||||
|
|
|
@ -1024,6 +1024,14 @@ LABELS_WITHOUT_COLONS is defined.
|
||||||
If you define this macro, GAS will not require pseudo-ops to start with a
|
If you define this macro, GAS will not require pseudo-ops to start with a
|
||||||
@kbd{.} character.
|
@kbd{.} character.
|
||||||
|
|
||||||
|
@item TC_EQUAL_IN_INSN
|
||||||
|
@cindex TC_EQUAL_IN_INSN
|
||||||
|
If you define this macro, it should return nonzero if the instruction is
|
||||||
|
permitted to contain an @kbd{=} character. GAS will call it with two
|
||||||
|
arguments, the character before the @kbd{=} character, and the value of
|
||||||
|
the string preceding the equal sign. GAS uses this macro to decide if a
|
||||||
|
@kbd{=} is an assignment or an instruction.
|
||||||
|
|
||||||
@item TC_EOL_IN_INSN
|
@item TC_EOL_IN_INSN
|
||||||
@cindex TC_EOL_IN_INSN
|
@cindex TC_EOL_IN_INSN
|
||||||
If you define this macro, it should return nonzero if the current input line
|
If you define this macro, it should return nonzero if the current input line
|
||||||
|
|
10
gas/read.c
10
gas/read.c
|
@ -729,9 +729,13 @@ read_a_source_file (char *name)
|
||||||
/* Input_line_pointer->after ':'. */
|
/* Input_line_pointer->after ':'. */
|
||||||
SKIP_WHITESPACE ();
|
SKIP_WHITESPACE ();
|
||||||
}
|
}
|
||||||
else if (c == '='
|
else if ((c == '='
|
||||||
|| ((c == ' ' || c == '\t')
|
|| ((c == ' ' || c == '\t')
|
||||||
&& input_line_pointer[1] == '='))
|
&& input_line_pointer[1] == '='))
|
||||||
|
#ifdef TC_EQUAL_IN_INSN
|
||||||
|
&& !TC_EQUAL_IN_INSN (c, s)
|
||||||
|
#endif
|
||||||
|
)
|
||||||
{
|
{
|
||||||
equals (s, 1);
|
equals (s, 1);
|
||||||
demand_empty_rest_of_line ();
|
demand_empty_rest_of_line ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue