aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-05-07 17:22:30 +0000
committerIan Lance Taylor <ian@airs.com>1998-05-07 17:22:30 +0000
commit82df8834c99d0ccd9040aa1e1881bd7a91bf72e3 (patch)
tree9dc8f375481412bc8f45fc63a5fe98d656d00397 /gas/gasp.c
parent4c7f1d41097fe47d21b566ddf72b2fe5d4f52b4a (diff)
downloadgdb-82df8834c99d0ccd9040aa1e1881bd7a91bf72e3.zip
gdb-82df8834c99d0ccd9040aa1e1881bd7a91bf72e3.tar.gz
gdb-82df8834c99d0ccd9040aa1e1881bd7a91bf72e3.tar.bz2
Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
* gasp.c (grab_label): Permit a label to be a preprocessor variable by permitting a label to start with a backslash.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index f8e4353..aae4cbe 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -1080,7 +1080,7 @@ grab_label (in, out)
{
int i = 0;
sb_reset (out);
- if (ISFIRSTCHAR (in->ptr[i]))
+ if (ISFIRSTCHAR (in->ptr[i]) || in->ptr[i] == '\\')
{
sb_add_char (out, in->ptr[i]);
i++;