From 107c6e11a77e8bf6be43c2f68157d90b4634997f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 31 Aug 2010 16:08:24 +0000 Subject: [PATCH] * ldlex.l (WILDCHAR): Add the caret and exclamation point characters, so that they can be used inside regexps. --- ld/ChangeLog | 5 +++++ ld/ldlex.l | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index be5ee3e..9cf54fd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 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 a region's attributes. diff --git a/ld/ldlex.l b/ld/ldlex.l index e52d83b..7f038b3 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\/\.\-\_\+\$\:\[\]\\\~] -- 2.7.4