binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post characters
for name tokens. PR/5529.
This commit is contained in:
parent
9396508db2
commit
aeafac0cd3
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-08 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
|
||||
characters for name tokens. PR/5529.
|
||||
|
||||
2008-01-04 Greg McGary <greg@mcgary.org>
|
||||
|
||||
* prdbg.c (print_vma): Print as long long, if host supports it.
|
||||
|
|
|
@ -844,7 +844,11 @@ yylex (void)
|
|||
default:
|
||||
if (ISIDST (ch) || ch=='$')
|
||||
{
|
||||
while ((ch = rclex_peekch ()) != -1 && (ISIDNUM (ch) || ch == '$' || ch == '.'))
|
||||
while ((ch = rclex_peekch ()) != -1
|
||||
&& (ISIDNUM (ch) || ch == '$' || ch == '.'
|
||||
|| ch == ':' || ch == '\\' || ch == '/'
|
||||
|| ch == '_')
|
||||
)
|
||||
rclex_readch ();
|
||||
ch = IGNORE_CPP (rclex_translatekeyword (rclex_tok));
|
||||
if (ch == STRING)
|
||||
|
|
Loading…
Reference in a new issue