From: Nick Clifton Date: Mon, 28 Jan 2008 16:42:02 +0000 (+0000) Subject: PR binutils/5529 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e36ea2deae43832a148ed5ef19ca125704b7a7b4;p=binutils-gdb.git PR binutils/5529 * rclex.c (yylex): Also allow the hypen character. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 11471438f5f..3d89c3a2724 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-01-28 Nick Clifton + + PR binutils/5529 + * rclex.c (yylex): Also allow the hypen character. + 2008-01-28 H.J. Lu * dwarf.c: Include "elf/common.h". @@ -78,8 +83,9 @@ 2008-01-08 Kai Tietz + 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 diff --git a/binutils/rclex.c b/binutils/rclex.c index 29f365f310a..4fae3da5127 100644 --- a/binutils/rclex.c +++ b/binutils/rclex.c @@ -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));