2000-06-05 Michael Matz <matz@ifh.de>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Jun 2000 16:16:31 +0000 (16:16 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Jun 2000 16:16:31 +0000 (16:16 +0000)
* ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
 version scripts.

 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.

ld/ChangeLog
ld/ldgram.y
ld/ldlex.l

index 43684b4ee2ea6b0812de0b35f22de507984e920c..fdaa3945562646d6e9c451bd4a5132c72a3dad6e 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
 
        * emulparams/avr1200.sh (STACK): Define as 0.
index 806ea1c5f5c35e45938538515f17e9e717d9f2ce..375eb913da7ed4e8c80db2e0d38adc555e42cc28 100644 (file)
@@ -1113,6 +1113,7 @@ vers_defns:
                        }
                vers_defns '}'
                        {
+                         $$ = $5;
                          ldgram_vers_current_lang = $<name>4;
                        }
        ;
index 2eef80f1fe2b259cc40f56004b41f3c3a48e3fb0..4dfa53f7a4d77d8ea1274bf576cc279905435cd8 100644 (file)
@@ -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
This page took 0.029767 seconds and 4 git commands to generate.