[binutils-gdb] Accept the + character as part of filenames for MRI scripts.
Nick Clifton
nickc@sourceware.org
Thu Mar 31 14:44:05 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=add0eb9d6e731e08a0bc2463d8c1f0acb02894a0
commit add0eb9d6e731e08a0bc2463d8c1f0acb02894a0
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Mar 31 15:43:42 2022 +0100
Accept the + character as part of filenames for MRI scripts.
Diff:
---
binutils/ChangeLog | 4 ++++
binutils/arlex.l | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f84323953d6..81f74f5b2e6 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-31 Nick Clifton <nickc@redhat.com>
+
+ * arlex.l: Accept the plus character as part of a filename.
+
2022-03-16 Fangrui Song <maskray@google.com>
PR binutils/28926
diff --git a/binutils/arlex.l b/binutils/arlex.l
index a43a6214b3d..145b9e16773 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -78,7 +78,7 @@ int linenumber;
"(" { return '('; }
")" { return ')'; }
"," { return ','; }
-[A-Za-z0-9/\\$:.\-\_]+ {
+[A-Za-z0-9/\\$:.\-\_\+]+ {
yylval.name = xstrdup (yytext);
return FILENAME;
}
More information about the Binutils-cvs
mailing list