From: Nick Clifton Date: Fri, 20 Apr 2007 13:52:58 +0000 (+0000) Subject: * rclex.l: Allow underscores at the start of identifiers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6e15d68d9134a5493abf7c1fc8ac2c30daa7dee;p=binutils-gdb.git * rclex.l: Allow underscores at the start of identifiers. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9548cc80f7b..d18d20d4d41 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2007-04-20 Nick Clifton + + * rclex.l: Allow underscores at the start of identifiers. + 2007-04-19 Alan Modra * budemang.c: Delete. diff --git a/binutils/rclex.l b/binutils/rclex.l index 92b1ec73852..f5ca8d803af 100644 --- a/binutils/rclex.l +++ b/binutils/rclex.l @@ -217,7 +217,7 @@ static char *get_string (int); } } -[A-Za-z][^ ,\t\r\n]* { +[_A-Za-z][^ ,\t\r\n]* { char *s; /* I rejected comma in a string in order to