From: Alan Modra Date: Mon, 5 May 2003 06:28:00 +0000 (+0000) Subject: * ldlex.l: Accept C style comments in version scripts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c7966bf11880ce5fce16f9ec006266bd0683490;p=binutils-gdb.git * ldlex.l: Accept C style comments in version scripts. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index ced3178bb03..404d98f8893 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-05-05 Alan Modra + + * ldlex.l: Accept C style comments in version scripts. + 2003-04-28 H.J. Lu * ldlang.c (lang_process): Add the relax finalize pass. diff --git a/ld/ldlex.l b/ld/ldlex.l index 2eef45df322..c9eb1afe395 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -144,7 +144,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^]([*?.$_a-zA-Z0-9\[\]\-\!\^]|::)* } } -"/*" { comment(); } +"/*" { comment(); } "-" { RTOKEN('-');}