aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-05-05 06:28:00 +0000
committerAlan Modra <amodra@gmail.com>2003-05-05 06:28:00 +0000
commit5c7966bf11880ce5fce16f9ec006266bd0683490 (patch)
tree3b00802664ade23fc8589fe4a1b81e41260df6c6 /ld/ldlex.l
parentef5aade5aca46a8f4244c7185fecbadbc32e50fa (diff)
downloadfsf-binutils-gdb-5c7966bf11880ce5fce16f9ec006266bd0683490.zip
fsf-binutils-gdb-5c7966bf11880ce5fce16f9ec006266bd0683490.tar.gz
fsf-binutils-gdb-5c7966bf11880ce5fce16f9ec006266bd0683490.tar.bz2
* ldlex.l: Accept C style comments in version scripts.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 2eef45d..c9eb1af 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('-');}