summaryrefslogtreecommitdiff
path: root/binutils/rclex.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/rclex.c')
-rw-r--r--binutils/rclex.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/rclex.c b/binutils/rclex.c
index 5922106a0e..29f365f310 100644
--- a/binutils/rclex.c
+++ b/binutils/rclex.c
@@ -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)