From: Ian Lance Taylor Date: Thu, 7 May 1998 17:22:30 +0000 (+0000) Subject: Thu May 7 13:20:56 1998 Anders Blomdell X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82df8834c99d0ccd9040aa1e1881bd7a91bf72e3;p=binutils-gdb.git Thu May 7 13:20:56 1998 Anders Blomdell * gasp.c (grab_label): Permit a label to be a preprocessor variable by permitting a label to start with a backslash. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4688c0defd6..5b41588940f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Thu May 7 13:20:56 1998 Anders Blomdell + + * gasp.c (grab_label): Permit a label to be a preprocessor + variable by permitting a label to start with a backslash. + start-sanitize-d30v Thu May 7 11:13:00 1998 Frank Ch. Eigler diff --git a/gas/gasp.c b/gas/gasp.c index f8e43538892..aae4cbe7dbc 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++;