line_comment_chars: Add '#'. This makes the assembler's handling of

# <linenum> "<filename>" directives work.
This commit is contained in:
Nick Clifton 2003-01-29 10:05:52 +00:00
parent 38985a1cb4
commit 0d9f6d04b2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-01-29 Nick Clifton <nickc@redhat.com>
* config/tc-i386.c (line_comment_chars): Add '#'. This makes the
assembler's handling of # <linenum> "<filename>" directives work.
2003-01-28 Jakub Jelinek <jakub@redhat.com>
* dwarf2dbg.c: Include filenames.h.

View File

@ -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[] = ";";