diff options
author | Nick Clifton <nickc@redhat.com> | 2008-01-28 16:42:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-01-28 16:42:02 +0000 |
commit | e36ea2deae43832a148ed5ef19ca125704b7a7b4 (patch) | |
tree | f333ed35680266a90e60b933ad53f5a048d35f42 /binutils/rclex.c | |
parent | a0a21afef580d360d994a31c353ceb3ad664ed89 (diff) | |
download | binutils-e36ea2deae43832a148ed5ef19ca125704b7a7b4.zip binutils-e36ea2deae43832a148ed5ef19ca125704b7a7b4.tar.gz binutils-e36ea2deae43832a148ed5ef19ca125704b7a7b4.tar.bz2 |
PR binutils/5529
* rclex.c (yylex): Also allow the hypen character.
Diffstat (limited to 'binutils/rclex.c')
-rw-r--r-- | binutils/rclex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/rclex.c b/binutils/rclex.c index 29f365f..4fae3da 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)); |