]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR binutils/5529
authorNick Clifton <nickc@redhat.com>
Mon, 28 Jan 2008 16:42:02 +0000 (16:42 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 28 Jan 2008 16:42:02 +0000 (16:42 +0000)
   * rclex.c (yylex): Also allow the hypen character.

binutils/ChangeLog
binutils/rclex.c

index 11471438f5fc5656d36f675b1c66a117ebcd28f0..3d89c3a2724f0d9a985c685011271a737fd8898a 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-28  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/5529
+       * rclex.c (yylex): Also allow the hypen character.
+
 2008-01-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        * dwarf.c: Include "elf/common.h".
@@ -78,8 +83,9 @@
 
 2008-01-08  Kai Tietz  <kai.tietz@onevision.com>
 
+       PR binutils/5529
        * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
-       characters for name tokens. PR/5529.
+       characters for name tokens.
 
 2008-01-04  Greg McGary  <greg@mcgary.org>
 
index 29f365f310abb2fd60d27f76349481b9629b94a2..4fae3da51275cbc36ace1320ca537322278513d7 100644 (file)
@@ -847,7 +847,7 @@ yylex (void)
              while ((ch = rclex_peekch ()) != -1
                     && (ISIDNUM (ch) || ch == '$' || ch == '.'
                         || ch == ':' || ch == '\\' || ch == '/'
-                        || ch == '_')
+                        || ch == '_' || ch == '-')
                    )
                rclex_readch ();
              ch = IGNORE_CPP (rclex_translatekeyword (rclex_tok));