aboutsummaryrefslogtreecommitdiff
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/ldgram.y
parentMore updates. (diff)
downloadbinutils-gdb-e06cae3665e66c3122d133939a76e25fd519ae26.tar.gz
binutils-gdb-e06cae3665e66c3122d133939a76e25fd519ae26.tar.bz2
binutils-gdb-e06cae3665e66c3122d133939a76e25fd519ae26.zip
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/ldgram.y')
-rw-r--r--ld/ldgram.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index 806ea1c5f5c..375eb913da7 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -1113,6 +1113,7 @@ vers_defns:
}
vers_defns '}'
{
+ $$ = $5;
ldgram_vers_current_lang = $<name>4;
}
;