aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
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 /gas/app.c
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.
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c2
1 files changed, 1 insertions, 1 deletions
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;