Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
authorIan Lance Taylor <ian@airs.com>
Thu, 7 May 1998 17:22:30 +0000 (17:22 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 7 May 1998 17:22:30 +0000 (17:22 +0000)
* gasp.c (grab_label): Permit a label to be a preprocessor
variable by permitting a label to start with a backslash.

gas/ChangeLog
gas/gasp.c

index 4688c0defd61490bcf997a6987411b2bbf192204..5b41588940f3f73dbb1df312fba32a3afe9597df 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 start-sanitize-d30v
 Thu May  7 11:13:00 1998  Frank Ch. Eigler  <fche@cygnus.com>
 
index f8e435388923fed121ca15fe99661133d101ef59..aae4cbe7dbc6c22913b465112f8f49c1c589515a 100644 (file)
@@ -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++;