diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-05-05 06:28:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2003-05-05 06:28:00 +0000 |
commit | c52d7a36464202d6f8cc2abc3ed0447504a6d803 (patch) | |
tree | 839423c6f026c6a2fd61c595d57e8baf65ddc29e | |
parent | afcef526f1d368177631fede8190440430fba71d (diff) | |
download | binutils-redhat-c52d7a36464202d6f8cc2abc3ed0447504a6d803.tar.gz |
* ldlex.l: Accept C style comments in version scripts.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldlex.l | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ced3178bb0..404d98f889 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/ldlex.l b/ld/ldlex.l index 2eef45df32..c9eb1afe39 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -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('-');} |