aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-04-20 13:52:58 +0000
committerNick Clifton <nickc@redhat.com>2007-04-20 13:52:58 +0000
commitc6e15d68d9134a5493abf7c1fc8ac2c30daa7dee (patch)
tree69dfae1ab596469c09e86f90711cccb7b2663e88 /binutils
parentc5c2803a6650ae5f529aa1767bdbe42c8d59aef2 (diff)
downloadgdb-c6e15d68d9134a5493abf7c1fc8ac2c30daa7dee.zip
gdb-c6e15d68d9134a5493abf7c1fc8ac2c30daa7dee.tar.gz
gdb-c6e15d68d9134a5493abf7c1fc8ac2c30daa7dee.tar.bz2
* rclex.l: Allow underscores at the start of identifiers.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/rclex.l2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 9548cc8..d18d20d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-20 Nick Clifton <nickc@redhat.com>
+
+ * rclex.l: Allow underscores at the start of identifiers.
+
2007-04-19 Alan Modra <amodra@bigpond.net.au>
* budemang.c: Delete.
diff --git a/binutils/rclex.l b/binutils/rclex.l
index 92b1ec7..f5ca8d8 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