From 800eeca487f145ccc5481a03bfff2b871a2fd361 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 21 Apr 2000 20:22:24 +0000 Subject: IA-64 ELF support. --- gas/app.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gas/app.c') diff --git a/gas/app.c b/gas/app.c index 2613e74..1b2243a 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) -- cgit v1.1