mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 02:35:00 +08:00
binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post characters
for name tokens. PR/5529.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user