aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
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
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/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 806ea1c..375eb91 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -1113,6 +1113,7 @@ vers_defns:
}
vers_defns '}'
{
+ $$ = $5;
ldgram_vers_current_lang = $<name>4;
}
;