aboutsummaryrefslogtreecommitdiff
path: root/binutils/arlex.l
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2001-11-05 16:20:37 +0000
committerJakub Jelinek <jakub@redhat.com>2001-11-05 16:20:37 +0000
commit5e9520c87752aaf3f7920cc231ca50245c364a38 (patch)
tree1f931e9c2675531d0a4b51df3805fb338867e724 /binutils/arlex.l
parent54589086a88ece0455faf23010d847b1c9fefa54 (diff)
downloadgdb-5e9520c87752aaf3f7920cc231ca50245c364a38.zip
gdb-5e9520c87752aaf3f7920cc231ca50245c364a38.tar.gz
gdb-5e9520c87752aaf3f7920cc231ca50245c364a38.tar.bz2
* arlex.l: Accept `\' in filenames. Patch by <earl_chew@agilent.com>.
* arsup.c (ar_open): Prepend tmp- to basename, not whole path.
Diffstat (limited to 'binutils/arlex.l')
-rw-r--r--binutils/arlex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/arlex.l b/binutils/arlex.l
index 71ef56e..4e2895c 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -71,7 +71,7 @@ int linenumber;
"(" { return '('; }
")" { return ')'; }
"," { return ','; }
-[A-Za-z0-9/$:.\-\_]+ {
+[A-Za-z0-9/\\$:.\-\_]+ {
yylval.name = xstrdup (yytext);
return FILENAME;
}