aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-08-31 16:08:24 +0000
committerNick Clifton <nickc@redhat.com>2010-08-31 16:08:24 +0000
commit107c6e11a77e8bf6be43c2f68157d90b4634997f (patch)
tree61ec6f08f5f216877a077855d18006b0b5ffe67f
parent83b9503b400a98f3eb759c9225d7df0709097e77 (diff)
downloadgdb-107c6e11a77e8bf6be43c2f68157d90b4634997f.zip
gdb-107c6e11a77e8bf6be43c2f68157d90b4634997f.tar.gz
gdb-107c6e11a77e8bf6be43c2f68157d90b4634997f.tar.bz2
* ldlex.l (WILDCHAR): Add the caret and exclamation point
characters, so that they can be used inside regexps.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldlex.l2
2 files changed, 6 insertions, 1 deletions
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 <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.
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\/\.\-\_\+\$\:\[\]\\\~]