* ldlex.l (WILDCHAR): Add the caret and exclamation point
authorNick Clifton <nickc@redhat.com>
Tue, 31 Aug 2010 16:08:24 +0000 (16:08 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 31 Aug 2010 16:08:24 +0000 (16:08 +0000)
        characters, so that they can be used inside regexps.

ld/ChangeLog
ld/ldlex.l

index be5ee3e..9cf54fd 100644 (file)
@@ -1,5 +1,10 @@
 2010-08-31  Nick Clifton  <nickc@redhat.com>
 
+       * ldlex.l (WILDCHAR): Add the caret and exclamation point
+       characters, so that they can be used inside regexps.
+
+2010-08-31  Nick Clifton  <nickc@redhat.com>
+
        * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
        a region's attributes.
 
index e52d83b..7f038b3 100644 (file)
@@ -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\/\.\-\_\+\$\:\[\]\\\~]