From 03a98d4da492a2aae6267aa4e4fb39cf44a1cebf Mon Sep 17 00:00:00 2001 From: nickc Date: Fri, 20 Apr 2007 13:52:58 +0000 Subject: [PATCH] * rclex.l: Allow underscores at the start of identifiers. --- binutils/ChangeLog | 4 ++++ binutils/rclex.l | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9548cc80f7..d18d20d4d4 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 92b1ec7385..f5ca8d803a 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 -- 2.11.0