mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
Check label validity with TC_START_LABEL_WITHOUT_COLON if defined.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2000-02-10 Timothy Wall <twall@redhat.com>
|
||||||
|
|
||||||
|
* read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
|
||||||
|
defined, use it to verify the symbol just read should be a label.
|
||||||
|
|
||||||
2000-02-10 Timothy Wall <twall@redhat.com>
|
2000-02-10 Timothy Wall <twall@redhat.com>
|
||||||
|
|
||||||
* app.c (do_scrub_chars): Handle "||" for parallel instructions
|
* app.c (do_scrub_chars): Handle "||" for parallel instructions
|
||||||
|
@ -599,7 +599,12 @@ read_a_source_file (name)
|
|||||||
/* In MRI mode, we need to handle the MACRO
|
/* In MRI mode, we need to handle the MACRO
|
||||||
pseudo-op specially: we don't want to put the
|
pseudo-op specially: we don't want to put the
|
||||||
symbol in the symbol table. */
|
symbol in the symbol table. */
|
||||||
if (! mri_line_macro)
|
if (! mri_line_macro
|
||||||
|
#ifdef TC_START_LABEL_WITHOUT_COLON
|
||||||
|
&& TC_START_LABEL_WITHOUT_COLON(c,
|
||||||
|
input_line_pointer)
|
||||||
|
#endif
|
||||||
|
)
|
||||||
line_label = colon (line_start);
|
line_label = colon (line_start);
|
||||||
else
|
else
|
||||||
line_label = symbol_create (line_start,
|
line_label = symbol_create (line_start,
|
||||||
|
Reference in New Issue
Block a user