aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-03-31 15:43:42 +0100
committerNick Clifton <nickc@redhat.com>2022-03-31 15:43:42 +0100
commitadd0eb9d6e731e08a0bc2463d8c1f0acb02894a0 (patch)
tree427f6d9089feffbcb8c4c83f83de7b19359f3759 /binutils
parent5530c021ce01abf368a9cde26b22c4b34f320ee8 (diff)
downloadgdb-add0eb9d6e731e08a0bc2463d8c1f0acb02894a0.zip
gdb-add0eb9d6e731e08a0bc2463d8c1f0acb02894a0.tar.gz
gdb-add0eb9d6e731e08a0bc2463d8c1f0acb02894a0.tar.bz2
Accept the + character as part of filenames for MRI scripts.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/arlex.l2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f843239..81f74f5 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 a43a621..145b9e1 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;
}