aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-06-05 16:16:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-06-05 16:16:31 +0000
commite06cae3665e66c3122d133939a76e25fd519ae26 (patch)
tree57a26dd0d92f8199150823f3b853d8adb8382a4d /ld/ldlex.l
parent26099b4aa4e4a340391754c95820bfa19f8f0e1c (diff)
downloadgdb-e06cae3665e66c3122d133939a76e25fd519ae26.zip
gdb-e06cae3665e66c3122d133939a76e25fd519ae26.tar.gz
gdb-e06cae3665e66c3122d133939a76e25fd519ae26.tar.bz2
2000-06-05 Michael Matz <matz@ifh.de>
* ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in version scripts. * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
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 2eef80f..4dfa53f 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -115,7 +115,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