summaryrefslogtreecommitdiff
path: root/gas/app.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2000-04-21 20:22:24 +0000
committerJim Wilson <wilson@tuliptree.org>2000-04-21 20:22:24 +0000
commit54aab81f946eeca3eacd7b99aacd0936495c06ad (patch)
treed87b9a69274e7f1313182c28060651b623053527 /gas/app.c
parent884aa74c57846de8b0a019446d01d528962734d1 (diff)
downloadbinutils-redhat-54aab81f946eeca3eacd7b99aacd0936495c06ad.tar.gz
IA-64 ELF support.
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/app.c b/gas/app.c
index 2613e7440b..1b2243ab72 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -913,6 +913,21 @@ do_scrub_chars (get, tostart, tolen)
ch = ' ';
goto recycle;
}
+#ifdef DOUBLESLASH_LINE_COMMENTS
+ else if (ch2 == '/')
+ {
+ do
+ {
+ ch = GET ();
+ }
+ while (ch != EOF && !IS_NEWLINE (ch));
+ if (ch == EOF)
+ as_warn ("end of file in comment; newline inserted");
+ state = 0;
+ PUT ('\n');
+ break;
+ }
+#endif
else
{
if (ch2 != EOF)