aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-01-29 10:05:52 +0000
committerNick Clifton <nickc@redhat.com>2003-01-29 10:05:52 +0000
commit0d9f6d04b244116950232a6c09ac878a82032da3 (patch)
treea51cf81be974c369655dcc4d66b502d498a3ac88 /gas/config
parent38985a1cb4890f44601f781654c6d79485634120 (diff)
downloadfsf-binutils-gdb-0d9f6d04b244116950232a6c09ac878a82032da3.zip
fsf-binutils-gdb-0d9f6d04b244116950232a6c09ac878a82032da3.tar.gz
fsf-binutils-gdb-0d9f6d04b244116950232a6c09ac878a82032da3.tar.bz2
line_comment_chars: Add '#'. This makes the assembler's handling of
# <linenum> "<filename>" directives work.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 5b01605..92540ad 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -207,7 +207,7 @@ const char comment_chars[] = "#/";
#NO_APP at the beginning of its output.
Also note that comments started like this one will always work if
'/' isn't otherwise defined. */
-const char line_comment_chars[] = "";
+const char line_comment_chars[] = "#";
#else
/* Putting '/' here makes it impossible to use the divide operator.
@@ -215,7 +215,7 @@ const char line_comment_chars[] = "";
const char comment_chars[] = "#";
#define PREFIX_SEPARATOR '/'
-const char line_comment_chars[] = "/";
+const char line_comment_chars[] = "/#";
#endif
const char line_separator_chars[] = ";";