* ldlex.l: Accept C style comments in version scripts.
authorAlan Modra <amodra@gmail.com>
Mon, 5 May 2003 06:28:00 +0000 (06:28 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 5 May 2003 06:28:00 +0000 (06:28 +0000)
ld/ChangeLog
ld/ldlex.l

index ced3178bb0370e79c9613215290674967e512ebf..404d98f8893ac0c9fb2c358f9c6a7ca3b18a6618 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlex.l: Accept C style comments in version scripts.
+
 2003-04-28  H.J. Lu <hjl@gnu.org>
 
        * ldlang.c (lang_process): Add the relax finalize pass.
index 2eef45df32230e4551e7d41da864fb905eb755b7..c9eb1afe39548d504215718336eaeaa8c4238718 100644 (file)
@@ -144,7 +144,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^]([*?.$_a-zA-Z0-9\[\]\-\!\^]|::)*
        }
     }
 
-<BOTH,SCRIPT,EXPRESSION>"/*"   { comment(); }
+<BOTH,SCRIPT,EXPRESSION,VERS_START,VERS_NODE,VERS_SCRIPT>"/*"  { comment(); }
 
 
 <DEFSYMEXP>"-"                  { RTOKEN('-');}