* ldlex.l: Accept C style comments in version scripts.

This commit is contained in:
Alan Modra 2003-05-05 06:28:00 +00:00
parent ef5aade5ac
commit 5c7966bf11
2 changed files with 5 additions and 1 deletions

View 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.

View 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('-');}