summaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-02-14 04:24:33 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-02-14 04:24:33 +0000
commitf57c8bdfffa0eb710b3d992a11beb91c3944917f (patch)
treef13c25547135a2070f051a55320a8e4e1b19cca9 /ld/ldlex.l
parent76dffb459bc3822f7fa510a2ff669b834e10e24b (diff)
downloadbinutils-redhat-f57c8bdfffa0eb710b3d992a11beb91c3944917f.tar.gz
* ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
* ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; the pattern in question is not a regexp. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 1220852de5..34fbeca3dd 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -116,7 +116,7 @@ WHITE [ \t\n\r]+
NOCFILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\$\:\[\]\\\~]
V_TAG [.$_a-zA-Z][._a-zA-Z0-9]*
-V_IDENTIFIER [*?.$_a-zA-Z]([*?.$_a-zA-Z0-9]|::)*
+V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^]([*?.$_a-zA-Z0-9\[\]\-\!\^]|::)*
%s SCRIPT
%s EXPRESSION