From 0d9f6d04b244116950232a6c09ac878a82032da3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 29 Jan 2003 10:05:52 +0000 Subject: [PATCH] line_comment_chars: Add '#'. This makes the assembler's handling of # "" directives work. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 703b230935d..e71d9653ac6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-01-29 Nick Clifton + + * config/tc-i386.c (line_comment_chars): Add '#'. This makes the + assembler's handling of # "" directives work. + 2003-01-28 Jakub Jelinek * dwarf2dbg.c: Include filenames.h. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 5b01605fd24..92540ad625d 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[] = ";"; -- 2.30.2