From: Nick Clifton Date: Thu, 31 Mar 2022 14:43:42 +0000 (+0100) Subject: Accept the + character as part of filenames for MRI scripts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=add0eb9d6e731e08a0bc2463d8c1f0acb02894a0;p=binutils-gdb.git Accept the + character as part of filenames for MRI scripts. --- 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 + + * arlex.l: Accept the plus character as part of a filename. + 2022-03-16 Fangrui Song 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; }