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.
This commit is contained in:
Ian Lance Taylor
1998-05-07 17:22:30 +00:00
parent 4c7f1d4109
commit 82df8834c9
2 changed files with 6 additions and 1 deletions

View 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++;