From: Nick Clifton Date: Tue, 31 Aug 2010 16:08:24 +0000 (+0000) Subject: * ldlex.l (WILDCHAR): Add the caret and exclamation point X-Git-Tag: sid-snapshot-20100901~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=107c6e11a77e8bf6be43c2f68157d90b4634997f;p=thirdparty%2Fbinutils-gdb.git * ldlex.l (WILDCHAR): Add the caret and exclamation point characters, so that they can be used inside regexps. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index be5ee3e0423..9cf54fdaf32 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2010-08-31 Nick Clifton + + * ldlex.l (WILDCHAR): Add the caret and exclamation point + characters, so that they can be used inside regexps. + 2010-08-31 Nick Clifton * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in diff --git a/ld/ldlex.l b/ld/ldlex.l index e52d83b2223..7f038b32a4a 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -99,7 +99,7 @@ CMDFILENAMECHAR1 [_a-zA-Z0-9\/\.\\_\+\$\:\[\]\\\,\=\&\!\<\>\~] FILENAMECHAR1 [_a-zA-Z\/\.\\\$\_\~] SYMBOLCHARN [_a-zA-Z\/\.\\\$\_\~0-9] FILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~] -WILDCHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~\?\*] +WILDCHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~\?\*\^\!] WHITE [ \t\n\r]+ NOCFILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\$\:\[\]\\\~]