aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-10 21:03:12 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-10 21:03:12 +0000
commita25c045a58c5e368fc1c8cddc03447e14e236238 (patch)
tree57a83a91bbb69640d52844cd707b47065c8022ba /gas/read.c
parentf28e8eb3fd8ab61a0c02b2d9a938a1400cf3bf25 (diff)
downloadgdb-a25c045a58c5e368fc1c8cddc03447e14e236238.zip
gdb-a25c045a58c5e368fc1c8cddc03447e14e236238.tar.gz
gdb-a25c045a58c5e368fc1c8cddc03447e14e236238.tar.bz2
Check label validity with TC_START_LABEL_WITHOUT_COLON if defined.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index c510893..c6d42e9 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -599,7 +599,12 @@ read_a_source_file (name)
/* In MRI mode, we need to handle the MACRO
pseudo-op specially: we don't want to put the
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);
else
line_label = symbol_create (line_start,