Accept the + character as part of filenames for MRI scripts.
authorNick Clifton <nickc@redhat.com>
Thu, 31 Mar 2022 14:43:42 +0000 (15:43 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 31 Mar 2022 14:43:42 +0000 (15:43 +0100)
binutils/ChangeLog
binutils/arlex.l

index f84323953d6d2e7db9d5dbfb849b39a0924b9eaa..81f74f5b2e619ff7817a38e5cf3fddd9726ca925 100644 (file)
@@ -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
index a43a6214b3dd67b927c8c888007af90a28600c94..145b9e16773ee0d3370a278684834faeae726d50 100644 (file)
@@ -78,7 +78,7 @@ int linenumber;
 "("             { return '('; }
 ")"             { return ')'; }
 ","             { return ','; }
-[A-Za-z0-9/\\$:.\-\_]+  {
+[A-Za-z0-9/\\$:.\-\_\+]+  {
                yylval.name =  xstrdup (yytext);
                return FILENAME;
                }