aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-12 20:41:58 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-12 20:41:58 +0000
commit15ed5f2c3fc4625bba07fb731e7f281286c97fd0 (patch)
tree31a067cc86eaee0ebaea37062f798d1970cefd24
parenta043f579dfeef80f68f5533144c29987d935b121 (diff)
downloadgdb-15ed5f2c3fc4625bba07fb731e7f281286c97fd0.zip
gdb-15ed5f2c3fc4625bba07fb731e7f281286c97fd0.tar.gz
gdb-15ed5f2c3fc4625bba07fb731e7f281286c97fd0.tar.bz2
* app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
comment character.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/app.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cd321d5..0e00d35 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
+ comment character.
+
Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
diff --git a/gas/app.c b/gas/app.c
index 97c5a72..c338653 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -874,7 +874,7 @@ do_scrub_chars (get, tostart, tolen)
|| (ch != '!' && ch != '*')))
goto de_fault;
if (flag_m68k_mri
- && (ch == '!' || ch == '*')
+ && (ch == '!' || ch == '*' || ch == '#')
&& state != 1
&& state != 10)
goto de_fault;