PR binutils/5529

* rclex.c (yylex): Also allow the hypen character.
This commit is contained in:
Nick Clifton 2008-01-28 16:42:02 +00:00
parent a0a21afef5
commit e36ea2deae
2 changed files with 8 additions and 2 deletions

View 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>

View 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));