aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-14 04:24:33 +0000
committerAlan Modra <amodra@gmail.com>2002-02-14 04:24:33 +0000
commit313e35ee7c86c3b28c3c189e463a3de14d7ac2e9 (patch)
tree6e59deb8ded9fb75de5f43951712e47d9fd4150c /ld/ldlex.l
parent1e30956ea4c60a31e6612403c496d1be0d549756 (diff)
downloadfsf-binutils-gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.zip
fsf-binutils-gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.tar.gz
fsf-binutils-gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.tar.bz2
* 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 1220852..34fbeca 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